diff --git a/src/api/world.js b/src/api/world.js index 7ec1e503..4fa6fb31 100644 --- a/src/api/world.js +++ b/src/api/world.js @@ -87,8 +87,7 @@ const worldReq = { }, /** - * @param {{id: string}} params - * @returns {Promise<{json: any, params}>} + * @type {import('../types/api/world').SaveWorld} */ saveWorld(params) { const worldStore = useWorldStore(); diff --git a/src/components/AvatarInfo.vue b/src/components/AvatarInfo.vue index 24ef9bd8..a6d191c3 100644 --- a/src/components/AvatarInfo.vue +++ b/src/components/AvatarInfo.vue @@ -60,7 +60,7 @@ } if (Array.isArray(props.avatartags)) { - avatarTags.value = props.avatartags.map((tag) => tag.replace('content_', '')).join(', '); + avatarTags.value = props.avatartags.map((tag) => String(tag).replace('content_', '')).join(', '); } }; diff --git a/src/components/InstanceInfo.vue b/src/components/InstanceInfo.vue index db4833d1..1509c660 100644 --- a/src/components/InstanceInfo.vue +++ b/src/components/InstanceInfo.vue @@ -86,7 +86,7 @@ capacity: 0, queueSize: 0, queueEnabled: false, - platforms: [], + platforms: {}, userList: [], gameServerVersion: '', canCloseInstance: false, diff --git a/src/components/dialogs/GalleryDialog.vue b/src/components/dialogs/GalleryDialog.vue index 1003ffda..692ee19d 100644 --- a/src/components/dialogs/GalleryDialog.vue +++ b/src/components/dialogs/GalleryDialog.vue @@ -48,32 +48,32 @@
-
- -
-
- - -
+
@@ -117,32 +117,32 @@
-
- -
-
- - -
+
@@ -226,65 +226,67 @@
-
- - -
-
- - - - {{ image.animationStyle }} - {{ image.framesOverTime }}fps - {{ image.frames }}frames -
-
-
- +
- -
+ "> + + +
+
+ + + + {{ image.animationStyle }} + {{ image.framesOverTime }}fps + {{ image.frames }}frames +
+
+
+ +
@@ -320,32 +322,32 @@
-
- -
-
- - -
+
diff --git a/src/components/dialogs/LaunchDialog.vue b/src/components/dialogs/LaunchDialog.vue index 94baad39..14e64f2f 100644 --- a/src/components/dialogs/LaunchDialog.vue +++ b/src/components/dialogs/LaunchDialog.vue @@ -79,7 +79,7 @@