File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
packages/ui/src/layouts/shared/server-settings/pages Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 55 nodeAuthState ,
66 PanelVersionFeature ,
77 TauriModrinthClient ,
8+ VerboseLoggingFeature ,
89} from ' @modrinth/api-client'
910import {
1011 ArrowBigUpDashIcon ,
@@ -146,6 +147,7 @@ const tauriApiClient = new TauriModrinthClient({
146147 token: async () => (await getCreds ())? .session ,
147148 }),
148149 new PanelVersionFeature (),
150+ new VerboseLoggingFeature (),
149151 ],
150152})
151153provideModrinthClient (tauriApiClient)
@@ -420,6 +422,7 @@ const route = useRoute()
420422
421423const loading = useLoading ()
422424loading .setEnabled (false )
425+ loading .startLoading ()
423426
424427const error = useError ()
425428const errorModal = ref ()
@@ -1023,6 +1026,8 @@ provideAppUpdateDownloadProgress(appUpdateDownload)
10231026 v- if = " themeStore.featureFlags.servers_in_app"
10241027 v- tooltip .right = " 'Servers'"
10251028 to= " /hosting/manage"
1029+ : is- primary= " (r) => r.path === '/hosting/manage' || r.path === '/hosting/manage/'"
1030+ : is- subpage= " (r) => r.path.startsWith('/hosting/manage/') && r.path !== '/hosting/manage/'"
10261031 >
10271032 < ServerIcon / >
10281033 < / NavButton>
Original file line number Diff line number Diff line change 33 v-if =" typeof to === 'string'"
44 :to =" to"
55 v-bind =" $attrs"
6+ :active-class =" isSubpage ? '' : undefined"
67 :class =" {
78 'router-link-active': isPrimary && isPrimary(route),
89 'subpage-active': isSubpage && isSubpage(route),
Original file line number Diff line number Diff line change @@ -346,6 +346,7 @@ function flattenProperties(data: Archon.Content.v1.PropertiesFields): Record<str
346346
347347const liveProperties = ref <Record <string , string >>({})
348348const originalProperties = ref <Record <string , string >>({})
349+ let previousSpawnProtection = ' 16'
349350
350351function syncFormFromData() {
351352 if (! propsData .value ) return
@@ -380,8 +381,6 @@ watch(powerState, () => {
380381 queryClient .invalidateQueries ({ queryKey: queryKey .value })
381382})
382383
383- let previousSpawnProtection = ' 16'
384-
385384const combinedGamemode = computed <CombinedGamemode >({
386385 get() {
387386 if (liveProperties .value .hardcore === ' true' ) return ' hardcore'
You can’t perform that action at this time.
0 commit comments