Hide settings when empty

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ 2023-01-04 11:50:52 +01:00
parent 7339355dde
commit b9d3e17bce
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

@ -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>