We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f56f836 commit b217214Copy full SHA for b217214
1 file changed
adminforth/spa/src/components/Sidebar.vue
@@ -34,7 +34,7 @@
34
v-if="coreStore.config?.showBrandNameInSidebar && (!iconOnlySidebarEnabled || !isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering))"
35
class="af-title self-center text-lightNavbarText-size font-semibold sm:text-lightNavbarText-size whitespace-nowrap dark:text-darkSidebarText text-lightSidebarText"
36
>
37
- {{ coreStore.config?.brandName }}
+ {{ coreStore.config?.brandName?.length > 10 ? coreStore.config.brandName.slice(0, 10) + '...' : coreStore.config?.brandName }}
38
</span>
39
<div v-if="!isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering)" class="flex items-center gap-2 w-auto" :class="{'w-full justify-end': coreStore.config?.showBrandLogoInSidebar === false}">
40
<component
0 commit comments