Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: resolve empty state image correctly in profile page (#4456)

James Georgef10fac9f4455
diff --git a/packages/hoppscotch-common/src/components/accessTokens/List.vue b/packages/hoppscotch-common/src/components/accessTokens/List.vue
index 77af1ed02..5fe799029 100644
--- a/packages/hoppscotch-common/src/components/accessTokens/List.vue
+++ b/packages/hoppscotch-common/src/components/accessTokens/List.vue
@@ -13,7 +13,7 @@
<HoppSmartPlaceholder
v-else-if="accessTokens.length === 0"
- :src="`/images/states/${colorMode}/pack.svg`"
+ :src="`/images/states/${colorMode.value}/pack.svg`"
:alt="`${t('empty.access_tokens')}`"
:text="t('empty.access_tokens')"
@drop.stop