diff --git a/dashboard/src/components/FolderView.vue b/dashboard/src/components/FolderView.vue index 225004de4..dd17f50d1 100644 --- a/dashboard/src/components/FolderView.vue +++ b/dashboard/src/components/FolderView.vue @@ -365,9 +365,10 @@ async function onRestartApp() { const confirmed = await inputDialog.value.confirm({ message: t('filemanager.toolbar.restartApp') + '?', - confirmStyle: 'danger', + confirmStyle: 'primary', confirmLabel: t('main.dialog.yes'), - rejectLabel: t('main.dialog.no') + rejectLabel: t('main.dialog.no'), + rejectStyle: 'secondary', }); if (!confirmed) return; diff --git a/dashboard/src/components/LogsViewer.vue b/dashboard/src/components/LogsViewer.vue index 85c000787..4efe4beb2 100644 --- a/dashboard/src/components/LogsViewer.vue +++ b/dashboard/src/components/LogsViewer.vue @@ -41,9 +41,10 @@ export default { const confirmed = await this.$refs.inputDialog.confirm({ message: this.$t('filemanager.toolbar.restartApp') + '?', - confirmStyle: 'danger', + confirmStyle: 'primary', confirmLabel: this.$t('main.dialog.yes'), - rejectLabel: this.$t('main.dialog.no') + rejectLabel: this.$t('main.dialog.no'), + rejectStyle: 'secondary', }); if (!confirmed) return; diff --git a/dashboard/src/components/Terminal.vue b/dashboard/src/components/Terminal.vue index e371b3b0c..1af7dca53 100644 --- a/dashboard/src/components/Terminal.vue +++ b/dashboard/src/components/Terminal.vue @@ -138,9 +138,10 @@ function onSchedulerMenu(event) { async function onRestartApp() { const confirmed = await inputDialog.value.confirm({ message: t('filemanager.toolbar.restartApp') + '?', - confirmStyle: 'danger', + confirmStyle: 'primary', confirmLabel: t('main.dialog.yes'), - rejectLabel: t('main.dialog.no') + rejectLabel: t('main.dialog.no'), + rejectStyle: 'secondary', }); if (!confirmed) return;