mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Hide settings when empty
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
7339355dde
commit
b9d3e17bce
1 changed files with 3 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue