From 42887fb1d9c89cfb2f4e15afeb0186d9f54cc3f4 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 17 Oct 2025 19:45:41 +0200 Subject: [PATCH] app.error.details is gone, should have never happened Check BoxError.toPlainObject() for more --- dashboard/src/components/app/Email.vue | 6 +++--- dashboard/src/components/app/Location.vue | 4 ++-- dashboard/src/components/app/Repair.vue | 6 +++--- dashboard/src/components/app/Resources.vue | 8 ++++---- dashboard/src/components/app/Services.vue | 4 ++-- dashboard/src/components/app/Storage.vue | 6 +++--- dashboard/src/components/app/Updates.vue | 2 +- dashboard/src/views/AppConfigureView.vue | 10 +++++----- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/dashboard/src/components/app/Email.vue b/dashboard/src/components/app/Email.vue index ddd60971f..dd57c7eb7 100644 --- a/dashboard/src/components/app/Email.vue +++ b/dashboard/src/components/app/Email.vue @@ -137,7 +137,7 @@ onMounted(async () => {
-
+
@@ -160,7 +160,7 @@ onMounted(async () => {
- +
@@ -184,7 +184,7 @@ onMounted(async () => {
- + diff --git a/dashboard/src/components/app/Location.vue b/dashboard/src/components/app/Location.vue index c9e0999b3..db356e434 100644 --- a/dashboard/src/components/app/Location.vue +++ b/dashboard/src/components/app/Location.vue @@ -189,7 +189,7 @@ onMounted(async () => {
- + @@ -262,6 +262,6 @@ onMounted(async () => {
- +
diff --git a/dashboard/src/components/app/Repair.vue b/dashboard/src/components/app/Repair.vue index 6008292d1..6aebf2c63 100644 --- a/dashboard/src/components/app/Repair.vue +++ b/dashboard/src/components/app/Repair.vue @@ -73,7 +73,7 @@ onMounted(() => {

- @@ -84,9 +84,9 @@ onMounted(() => {
{{ $t('app.repair.taskError.description') }}
-
An error occurred during the {{ taskNameFromInstallationState(app.error.details.installationState) }} operation: {{ app.error.reason + ': ' + app.error.message }}
+
An error occurred during the {{ taskNameFromInstallationState(app.error.installationState) }} operation: {{ app.error.reason + ': ' + app.error.message }}

- +
diff --git a/dashboard/src/components/app/Resources.vue b/dashboard/src/components/app/Resources.vue index 1da1dccfa..ffecbcbf9 100644 --- a/dashboard/src/components/app/Resources.vue +++ b/dashboard/src/components/app/Resources.vue @@ -122,7 +122,7 @@ onMounted(async () => {
- +
@@ -137,12 +137,12 @@ onMounted(async () => {
- +
-
+
@@ -152,6 +152,6 @@ onMounted(async () => {

- + \ No newline at end of file diff --git a/dashboard/src/components/app/Services.vue b/dashboard/src/components/app/Services.vue index cd01bbfe9..e6b6f8b2b 100644 --- a/dashboard/src/components/app/Services.vue +++ b/dashboard/src/components/app/Services.vue @@ -58,7 +58,7 @@ onMounted(() => {
{{ $t('app.turn.info') }}
- + @@ -66,7 +66,7 @@ onMounted(() => {
{{ $t('app.redis.info') }}
- +
diff --git a/dashboard/src/components/app/Storage.vue b/dashboard/src/components/app/Storage.vue index 92337d684..e8a10e79b 100644 --- a/dashboard/src/components/app/Storage.vue +++ b/dashboard/src/components/app/Storage.vue @@ -165,7 +165,7 @@ onMounted(async () => {
-
+
@@ -185,7 +185,7 @@ onMounted(async () => {
{{ moveError }}

- +
@@ -226,7 +226,7 @@ onMounted(async () => {

- + diff --git a/dashboard/src/components/app/Updates.vue b/dashboard/src/components/app/Updates.vue index 3adbc3c6e..ffd2a0e98 100644 --- a/dashboard/src/components/app/Updates.vue +++ b/dashboard/src/components/app/Updates.vue @@ -146,7 +146,7 @@ onMounted(async () => {
{{ $t('app.updateDialog.unstableWarning') }}

- + diff --git a/dashboard/src/views/AppConfigureView.vue b/dashboard/src/views/AppConfigureView.vue index 6c5f6647c..a0d965a3a 100644 --- a/dashboard/src/views/AppConfigureView.vue +++ b/dashboard/src/views/AppConfigureView.vue @@ -159,7 +159,7 @@ const TARGET_RUN_STATE = { function targetRunState() { // if we have an error, we want to retry the pending state, otherwise toggle the runstate if (app.value.error) { - if (app.value.error.details.installationState === ISTATES.PENDING_START) return TARGET_RUN_STATE.START; + if (app.value.error.installationState === ISTATES.PENDING_START) return TARGET_RUN_STATE.START; else return TARGET_RUN_STATE.STOP; } else { if (app.value.runState === RSTATES.STOPPED) return TARGET_RUN_STATE.START; @@ -213,7 +213,7 @@ function hashChange() { if (parts.length !== 2) return; const newView = parts[1] || 'info'; - if (!isViewEnabled(newView, app.value.error?.details.installationState)) { + if (!isViewEnabled(newView, app.value.error?.installationState)) { if (!currentView.value) { currentView.value = 'info'; window.location.hash = `/app/${id.value}/info`; @@ -245,7 +245,7 @@ onMounted(async () => { function buildMenuItem(id, label) { return { id: id, - disabled: () => !isViewEnabled(id, app.value.error?.details.installationState), + disabled: () => !isViewEnabled(id, app.value.error?.installationState), label: label, href: `/#/app/${id.value}/${id}`, }; @@ -323,8 +323,8 @@ onBeforeUnmount(() => {
-
- {{ view.label }} +
+ {{ view.label }} {{ view.label }}