diff --git a/dashboard/src/components/FolderView.vue b/dashboard/src/components/FolderView.vue index ef0c33062..302bba599 100644 --- a/dashboard/src/components/FolderView.vue +++ b/dashboard/src/components/FolderView.vue @@ -526,6 +526,15 @@ export default { async onRestartApp() { if (this.resourceType !== 'app') return; + const confirmed = await this.$refs.inputDialog.confirm({ + message: this.$t('filemanager.toolbar.restartApp') + '?', + confirmStyle: 'danger', + confirmLabel: this.$t('main.dialog.yes'), + rejectLabel: this.$t('main.dialog.no') + }); + + if (!confirmed) return; + this.busyRestart = true; let error, result; diff --git a/dashboard/src/components/LogsViewer.vue b/dashboard/src/components/LogsViewer.vue index edb7e0fe1..1b5361ab7 100644 --- a/dashboard/src/components/LogsViewer.vue +++ b/dashboard/src/components/LogsViewer.vue @@ -1,6 +1,7 @@