From 9d97f9c1f1a02eea84026163283f3c836d7fe5c0 Mon Sep 17 00:00:00 2001 From: Dillard Blom Date: Sun, 4 Oct 2026 11:15:45 +0200 Subject: [PATCH] Admin UI: locations under Settings, fix the missing restore-point date Move backup locations onto the Settings tab next to the key setup, since adding one is a one-time step like the key, not daily use. The "Backup and restore" tab points there when no location exists yet. The restore-point dropdown relied on NcSelect's get-option-label, which it does not render for the selected value, so no date showed. Precompute a displayLabel per snapshot and select on that instead, the same way the location dropdown already does. Signed-off-by: Dillard Blom --- src/AdminSettings.vue | 9 ++++++--- src/components/RestoreBrowser.vue | 5 +++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/AdminSettings.vue b/src/AdminSettings.vue index aa5df51..9f0b458 100644 --- a/src/AdminSettings.vue +++ b/src/AdminSettings.vue @@ -18,11 +18,14 @@ {{ t('ng_backup', 'Set up the backup key under "Settings" first.') }} diff --git a/src/components/RestoreBrowser.vue b/src/components/RestoreBrowser.vue index 56b9739..d0f0f20 100644 --- a/src/components/RestoreBrowser.vue +++ b/src/components/RestoreBrowser.vue @@ -7,7 +7,7 @@ :description="t('ng_backup', 'Pick a restore point and a user folder or file. Restores run in the background and go through Nextcloud, so overwritten files keep their old content as a version and removed files go to the trash.')">
- +