mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
fix: lint
This commit is contained in:
@@ -170,7 +170,6 @@ async function show({ serverId, tabIndex, tabId }: ShowOptions) {
|
||||
}
|
||||
|
||||
await Promise.all(fetchPromises)
|
||||
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
addNotification({
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -70,8 +70,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<span>
|
||||
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.
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user