diff --git a/src/components/evm/CollapsibleAside.vue b/src/components/evm/CollapsibleAside.vue index d7aa80fc..e1705150 100644 --- a/src/components/evm/CollapsibleAside.vue +++ b/src/components/evm/CollapsibleAside.vue @@ -5,6 +5,7 @@ const props = defineProps<{ header: string; content: { text: string; bold?: boolean; }[]; alwaysOpen?: boolean, // if true, the expansion item will always be open with no toggle + centerOnDesktop?: boolean, // if true, the aside will be centered on large screens (default is off to the side) }>(); // data @@ -25,6 +26,7 @@ function handleExpansionItemUpdate() { :class="{ 'c-collapsible-aside': true, 'c-collapsible-aside--always-open': alwaysOpen, + 'c-collapsible-aside--centered': centerOnDesktop, }" > useAccountStore().currentAccount.account); +const showEmptyState = computed(() => !loading.value && shapedAllowanceRows.value.length === 0); const shapedAllowanceRows = computed(() => { const { asset, @@ -253,20 +254,20 @@ function handleRevokeSelectedClicked() {
- +
-
+

{{ $t('evm_allowances.no_allowances') }}