File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
modules/layout/components Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 5454
5555<script setup lang="ts">
5656import { ref , computed } from ' vue'
57- import { useInstanceStore } from ' @/modules/instance/store '
57+
5858import defaultLogoUrl from ' @/assets/mm-logo.svg'
59+ import { useInstanceStore } from ' @/modules/instance/store'
5960
6061const customLogoLoadFailed = ref (false )
6162function onCustomLogoError(): void {
Original file line number Diff line number Diff line change @@ -36,13 +36,12 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial
3636 </div >
3737
3838 <div class =" logo flex justify-content-center" >
39- <img
39+ <img
4040 class =" logo-image"
41- :src =" logoUrl"
42- @error =" onCustomLogoError"
43- alt =" Not Found"
41+ :src =" logoUrl"
42+ @error =" onCustomLogoError"
43+ alt =" Not Found"
4444 />
45-
4645 </div >
4746
4847 <div
@@ -87,17 +86,16 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial
8786<script setup lang="ts">
8887import { ref , computed } from ' vue'
8988import { useRoute } from ' vue-router'
90- import defaultLogoUrl from ' @/assets/mm-logo.svg'
9189
9290import { SideBarItemModel } from ' ../types'
9391
92+ import defaultLogoUrl from ' @/assets/mm-logo.svg'
9493import { DashboardRouteName , useUserStore } from ' @/main'
94+ import { useInstanceStore } from ' @/modules/instance/store'
9595import SideBarItem from ' @/modules/layout/components/SideBarItem.vue'
9696import { useLayoutStore } from ' @/modules/layout/store'
97- import { useInstanceStore } from ' @/modules/instance/store'
9897import { ProjectRouteName } from ' @/modules/project'
9998
100-
10199const customLogoLoadFailed = ref (false )
102100function onCustomLogoError(): void {
103101 customLogoLoadFailed .value = true
You can’t perform that action at this time.
0 commit comments