apps: enable storage view in all error states

This commit is contained in:
Girish Ramakrishnan
2026-02-28 02:10:20 +01:00
parent cd89883dbb
commit 61d4a795ae
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ onMounted(async () => {
</FormGroup>
<br/>
<Button @click="onSubmitMounts()" :loading="mountsBusy" :disabled="mountsBusy || (app.error && app.error.installationState !== ISTATES.PENDING_RECREATE_CONTAINER) || !!app.taskId || (!app.error && !mountsChanged) || !mountsValid">{{ $t('app.storage.mounts.saveAction') }}</Button>
<Button @click="onSubmitMounts()" :loading="mountsBusy" :disabled="mountsBusy || !!app.taskId || !mountsChanged || !mountsValid">{{ $t('app.storage.mounts.saveAction') }}</Button>
</div>
</template>
+1 -1
View File
@@ -151,7 +151,7 @@ function isViewEnabled(view, errorState) {
} else if (view === 'resources') {
return errorState === ISTATES.PENDING_RESIZE || errorState === ISTATES.PENDING_RECREATE_CONTAINER;
} else if (view === 'storage') {
return errorState === ISTATES.PENDING_DATA_DIR_MIGRATION || errorState === ISTATES.PENDING_RECREATE_CONTAINER;
return true; // allow in all states because a volume error can happen at any time
} else if (view === 'services') {
return errorState === ISTATES.PENDING_SERVICES_CHANGE;
} else if (view === 'email') {