diff --git a/resources/scripts/components/server/backups/CreateBackupButton.tsx b/resources/scripts/components/server/backups/CreateBackupButton.tsx
index 7a04f1041..3d7834fa9 100644
--- a/resources/scripts/components/server/backups/CreateBackupButton.tsx
+++ b/resources/scripts/components/server/backups/CreateBackupButton.tsx
@@ -49,7 +49,7 @@ const ModalContent = ({ ...props }: RequiredModalProps) => {
-
@@ -94,11 +94,7 @@ export default () => {
ignored: string(),
})}
>
- setVisible(false)}
- />
+ setVisible(false)}/>
}
setVisible(true)}>
diff --git a/resources/scripts/components/server/schedules/EditScheduleModal.tsx b/resources/scripts/components/server/schedules/EditScheduleModal.tsx
index 5793b875c..1cf9eea3a 100644
--- a/resources/scripts/components/server/schedules/EditScheduleModal.tsx
+++ b/resources/scripts/components/server/schedules/EditScheduleModal.tsx
@@ -65,7 +65,7 @@ const EditScheduleModal = ({ schedule, ...props }: Omit
-
+
{schedule ? 'Save changes' : 'Create schedule'}
diff --git a/resources/scripts/components/server/schedules/TaskDetailsModal.tsx b/resources/scripts/components/server/schedules/TaskDetailsModal.tsx
index 3829d724d..b8b102ba0 100644
--- a/resources/scripts/components/server/schedules/TaskDetailsModal.tsx
+++ b/resources/scripts/components/server/schedules/TaskDetailsModal.tsx
@@ -32,7 +32,7 @@ interface Values {
}
const TaskDetailsForm = ({ isEditingTask }: { isEditingTask: boolean }) => {
- const { values: { action }, setFieldValue, setFieldTouched } = useFormikContext();
+ const { values: { action }, setFieldValue, setFieldTouched, isSubmitting } = useFormikContext();
useEffect(() => {
setFieldValue('payload', action === 'power' ? 'start' : '');
@@ -94,7 +94,7 @@ const TaskDetailsForm = ({ isEditingTask }: { isEditingTask: boolean }) => {
/>
-
+
{isEditingTask ? 'Save Changes' : 'Create Task'}