Fix accessing config prior to it potentially being populated. We don't

need to gate this behind a loading span, it'll just show the alert
when and if it needs to on load.
This commit is contained in:
Dannon Baker
2024-05-14 14:02:06 -04:00
parent e1815c37ca
commit 81abefe501
@@ -63,7 +63,7 @@ async function onConfirmCleanupSelected(selectedItems: CleanableItem[]) {
</b-alert>
</b-row>
<b-row class="justify-content-md-center mb-5">
<b-alert v-if="config.enable_quotas" show>
<b-alert v-if="config?.enable_quotas" show>
{{ localize("The storage manager only shows elements that count towards your disk quota.") }}
<b-link :href="config.quota_url" target="_blank">{{ localize("Learn more") }}</b-link>
</b-alert>