mirror of
https://github.com/modrinth/code.git
synced 2026-09-03 13:36:48 +00:00
fix: lint
This commit is contained in:
@@ -170,7 +170,6 @@ async function show({ serverId, tabIndex, tabId }: ShowOptions) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await Promise.all(fetchPromises)
|
await Promise.all(fetchPromises)
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
addNotification({
|
addNotification({
|
||||||
|
|||||||
@@ -109,10 +109,7 @@ import { computed, ref } from 'vue'
|
|||||||
|
|
||||||
import { ButtonStyled } from '#ui/components'
|
import { ButtonStyled } from '#ui/components'
|
||||||
import { useServerPermissions } from '#ui/composables/server-permissions'
|
import { useServerPermissions } from '#ui/composables/server-permissions'
|
||||||
import {
|
import { injectModrinthServerContext, injectNotificationManager } from '#ui/providers'
|
||||||
injectModrinthServerContext,
|
|
||||||
injectNotificationManager,
|
|
||||||
} from '#ui/providers'
|
|
||||||
|
|
||||||
const { addNotification } = injectNotificationManager()
|
const { addNotification } = injectNotificationManager()
|
||||||
const { server } = injectModrinthServerContext()
|
const { server } = injectModrinthServerContext()
|
||||||
|
|||||||
@@ -885,10 +885,7 @@ watch(
|
|||||||
watch(
|
watch(
|
||||||
[worldId, currentPlatform, currentGameVersion],
|
[worldId, currentPlatform, currentGameVersion],
|
||||||
([, newPlatform, newGameVersion], [, oldPlatform, oldGameVersion]) => {
|
([, newPlatform, newGameVersion], [, oldPlatform, oldGameVersion]) => {
|
||||||
if (
|
if (editingPlatform.value === oldPlatform && editingGameVersion.value === oldGameVersion) {
|
||||||
editingPlatform.value === oldPlatform &&
|
|
||||||
editingGameVersion.value === oldGameVersion
|
|
||||||
) {
|
|
||||||
editingPlatform.value = newPlatform
|
editingPlatform.value = newPlatform
|
||||||
editingGameVersion.value = newGameVersion
|
editingGameVersion.value = newGameVersion
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,8 +70,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span>
|
<span>
|
||||||
The Java version your instance runs on. By default, only versions compatible with
|
The Java version your instance runs on. By default, only versions compatible with your
|
||||||
your Minecraft version are shown.
|
Minecraft version are shown.
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user