feat(notifications): add switch for Dokploy backup notification trigger

- Introduced a new switch control in the notifications settings to enable or disable actions triggered by Dokploy backup creation.
- Enhanced user interface for better interaction with notification settings.
This commit is contained in:
Mauricio Siu
2026-03-30 16:49:04 -06:00
parent f9de42610c
commit d90722a174

View File

@@ -1881,6 +1881,20 @@ export const HandleNotifications = ({ notificationId }: Props) => {
<FormLabel>Dokploy Backup</FormLabel>
<FormDescription>
Trigger the action when a dokploy backup is created.
</FormDescription>
</div>
<FormControl>
<Switch
checked={field.value}
onCheckedChange={field.onChange}
/>
</FormControl>
</FormItem>
)}
/>
<FormField
control={form.control}
name="volumeBackup"
render={({ field }) => (
<FormItem className="flex flex-row items-center justify-between rounded-lg border p-3 shadow-sm gap-2">