diff --git a/packages/ui/src/components/servers/ServerSettingsModal.vue b/packages/ui/src/components/servers/ServerSettingsModal.vue index 4c23baa0f1..4d05adee1f 100644 --- a/packages/ui/src/components/servers/ServerSettingsModal.vue +++ b/packages/ui/src/components/servers/ServerSettingsModal.vue @@ -170,7 +170,6 @@ async function show({ serverId, tabIndex, tabId }: ShowOptions) { } await Promise.all(fetchPromises) - } catch (error) { console.error(error) addNotification({ diff --git a/packages/ui/src/layouts/shared/server-settings/pages/advanced.vue b/packages/ui/src/layouts/shared/server-settings/pages/advanced.vue index fe66f3f986..3882aff7d3 100644 --- a/packages/ui/src/layouts/shared/server-settings/pages/advanced.vue +++ b/packages/ui/src/layouts/shared/server-settings/pages/advanced.vue @@ -109,10 +109,7 @@ import { computed, ref } from 'vue' import { ButtonStyled } from '#ui/components' import { useServerPermissions } from '#ui/composables/server-permissions' -import { - injectModrinthServerContext, - injectNotificationManager, -} from '#ui/providers' +import { injectModrinthServerContext, injectNotificationManager } from '#ui/providers' const { addNotification } = injectNotificationManager() const { server } = injectModrinthServerContext() diff --git a/packages/ui/src/layouts/shared/server-settings/pages/installation.vue b/packages/ui/src/layouts/shared/server-settings/pages/installation.vue index 2cd7375e8b..9585146053 100644 --- a/packages/ui/src/layouts/shared/server-settings/pages/installation.vue +++ b/packages/ui/src/layouts/shared/server-settings/pages/installation.vue @@ -885,10 +885,7 @@ watch( watch( [worldId, currentPlatform, currentGameVersion], ([, newPlatform, newGameVersion], [, oldPlatform, oldGameVersion]) => { - if ( - editingPlatform.value === oldPlatform && - editingGameVersion.value === oldGameVersion - ) { + if (editingPlatform.value === oldPlatform && editingGameVersion.value === oldGameVersion) { editingPlatform.value = newPlatform editingGameVersion.value = newGameVersion } diff --git a/packages/ui/src/layouts/shared/server-settings/pages/instance-advanced.vue b/packages/ui/src/layouts/shared/server-settings/pages/instance-advanced.vue index 7ac52e165d..988c615994 100644 --- a/packages/ui/src/layouts/shared/server-settings/pages/instance-advanced.vue +++ b/packages/ui/src/layouts/shared/server-settings/pages/instance-advanced.vue @@ -70,8 +70,8 @@ - The Java version your instance runs on. By default, only versions compatible with - your Minecraft version are shown. + The Java version your instance runs on. By default, only versions compatible with your + Minecraft version are shown.