Skip to content

Commit

Permalink
Fix accessing config prior to it potentially being populated. We don't
Browse files Browse the repository at this point in the history
need to gate this behind a loading span, it'll just show the alert
when and if it needs to on load.
  • Loading branch information
dannon committed May 14, 2024
1 parent e1815c3 commit 81abefe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 81abefe

Please sign in to comment.