File tree Expand file tree Collapse file tree 6 files changed +6
-7
lines changed
Expand file tree Collapse file tree 6 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const open = ref(false)
66
77const config = useRuntimeConfig ()
88
9- const links = [
9+ const links = computed (() => [
1010 [
1111 {
1212 label: t (' Dashboard' ),
@@ -68,13 +68,13 @@ const links = [
6868 target: ' _blank' ,
6969 },
7070 ].filter (Boolean ),
71- ]
71+ ])
7272
7373const groups = computed (() => [
7474 {
7575 id: ' links' ,
7676 label: t (' Go to' ),
77- items: links .flat (),
77+ items: links .value . flat (),
7878 },
7979])
8080
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const navigation = inject<Ref<ContentNavigationItem[]>>('navigation')
1515 <UPageAside >
1616 <template #top >
1717 <UContentSearchButton
18- :label =" $t('Search... ')"
18+ :label =" $t('Search')"
1919 variant =" outline"
2020 class =" w-full"
2121 >
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ async function handleCheckout() {
112112<template >
113113 <UDashboardPanel id =" home" >
114114 <template #header >
115- <UDashboardNavbar title =" Dashboard" :ui =" { right: 'gap-3' }" >
115+ <UDashboardNavbar : title =" $t(' Dashboard') " :ui =" { right: 'gap-3' }" >
116116 <template #leading >
117117 <UDashboardSidebarCollapse />
118118 </template >
Original file line number Diff line number Diff line change 145145 "Billing" : " Billing" ,
146146 "Profile" : " Profile" ,
147147 "Go to" : " Go to" ,
148- "Search..." : " Search..." ,
149148 "Documentation" : " Documentation" ,
150149 "Log out" : " Log out" ,
151150 "Add Credit" : " Add Credit" ,
Original file line number Diff line number Diff line change 145145 "Billing" : " Thanh toán" ,
146146 "Profile" : " Hồ sơ" ,
147147 "Go to" : " Đi đến" ,
148- "Search..." : " Tìm kiếm..." ,
149148 "Documentation" : " Tài liệu" ,
150149 "Log out" : " Đăng xuất" ,
151150 "Add Credit" : " Nạp Credit" ,
Original file line number Diff line number Diff line change @@ -292,6 +292,7 @@ export default defineNuxtConfig({
292292 } ,
293293
294294 colorMode : {
295+ preference : 'system' ,
295296 disableTransition : true ,
296297 } ,
297298
You can’t perform that action at this time.
0 commit comments