File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ watch(name, () => {
11
11
isSideMenuOpen .value = false
12
12
})
13
13
14
- const isBackButtonShowing = computed ( () => {
14
+ const isBackButtonShowing = computedWithControl ( path , () => {
15
15
if (process .server )
16
16
return false
17
17
return window .history .length >= 2 && path .value !== ' /'
@@ -82,7 +82,7 @@ const accounts = computed(() => [{
82
82
:class =" { 'opacity-100': isBackButtonShowing }"
83
83
class =" justify-center items-center opacity-0 transition-opacity"
84
84
>
85
- <NuxtLink class =" p-2 w-10 h-10 text-gray-500 hover:text-white transition" @click =" isBackButtonShowing && router.back()" >
85
+ <NuxtLink class =" p-2 w-10 h-10 text-gray-500 hover:text-white transition cursor-pointer " @click =" isBackButtonShowing && router.back()" >
86
86
<UIcon name =" i-lucide-arrow-left" />
87
87
</NuxtLink >
88
88
</UTooltip >
You can’t perform that action at this time.
0 commit comments