diff --git a/dashboard/src/components/FolderView.vue b/dashboard/src/components/FolderView.vue index 9fa595c6f..33bb8cf67 100644 --- a/dashboard/src/components/FolderView.vue +++ b/dashboard/src/components/FolderView.vue @@ -372,8 +372,8 @@ async function onRestartApp() { const confirmed = await inputDialog.value.confirm({ message: t('filemanager.toolbar.restartApp') + '?', - confirmStyle: 'primary', - confirmLabel: t('app.repair.recovery.restartAction'), + confirmLabel: t('main.action.restart'), + confirmStyle: 'danger', rejectLabel: t('main.dialog.cancel'), rejectStyle: 'secondary', }); diff --git a/dashboard/src/components/LogsViewer.vue b/dashboard/src/components/LogsViewer.vue index b7848741a..17d9a7e32 100644 --- a/dashboard/src/components/LogsViewer.vue +++ b/dashboard/src/components/LogsViewer.vue @@ -41,9 +41,9 @@ export default { const confirmed = await this.$refs.inputDialog.confirm({ message: this.$t('filemanager.toolbar.restartApp') + '?', - confirmStyle: 'primary', - confirmLabel: this.$t('main.dialog.yes'), - rejectLabel: this.$t('main.dialog.no'), + confirmLabel: this.$t('main.action.restart'), + confirmStyle: 'danger', + rejectLabel: this.$t('main.dialog.cancel'), rejectStyle: 'secondary', });