diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 11:50:52 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 16:46:17 +0100 |
commit | b9d3e17bcecb6b08b077e2a7095ab1341c93556d (patch) | |
tree | 3fef7d3afb9d93eab85ffd9c09c5b8c72089ca45 /apps | |
parent | 7339355dde6e946bbc151397ea91ba5bf19047f6 (diff) | |
download | nextcloud-server-b9d3e17bcecb6b08b077e2a7095ab1341c93556d.tar.gz nextcloud-server-b9d3e17bcecb6b08b077e2a7095ab1341c93556d.zip |
Hide settings when empty
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/views/Settings.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/src/views/Settings.vue b/apps/files/src/views/Settings.vue index 0f8432445aa..2b2e14fd8fc 100644 --- a/apps/files/src/views/Settings.vue +++ b/apps/files/src/views/Settings.vue @@ -37,7 +37,9 @@ </NcAppSettingsSection> <!-- Settings API--> - <NcAppSettingsSection id="more-settings" :title="t('files', 'Additional settings')"> + <NcAppSettingsSection v-if="settings.length !== 0" + id="more-settings" + :title="t('files', 'Additional settings')"> <template v-for="setting in settings"> <Setting :key="setting.name" :el="setting.el" /> </template> |