Compare commits

...
Author SHA1 Message Date
Calum H. (IMB11) 60ecfbb90c fix: lint 2026-07-24 18:43:08 +01:00
Calum H. (IMB11) ec80924809 fix: qa 2026-07-24 18:40:08 +01:00
5 changed files with 16 additions and 18 deletions
@@ -11,9 +11,9 @@
clearable
/>
<template v-if="!actionsLocked">
<ButtonStyled>
<ButtonStyled type="outlined">
<button
class="flex !h-10 shrink-0 items-center gap-2"
class="flex !h-10 shrink-0 items-center gap-2 !border"
:disabled="pushUpdateDisabled"
@click="emit('push-update', $event)"
>
@@ -147,15 +147,15 @@ const messages = defineMessages({
},
benefitJoin: {
id: 'modal.shared-instance.open-in-app.benefit.join',
defaultMessage: 'Join the shared instance in one click',
defaultMessage: 'Play the same content as your friends',
},
benefitInstall: {
id: 'modal.shared-instance.open-in-app.benefit.install',
defaultMessage: 'Automatically install the required game and loader',
defaultMessage: 'Automatically install everything theyre playing',
},
benefitUpdate: {
id: 'modal.shared-instance.open-in-app.benefit.update',
defaultMessage: 'Keep shared content updated when the instance changes',
defaultMessage: 'Keep shared content up to date as it changes',
},
openingAutomatically: {
id: 'modal.shared-instance.open-in-app.opening-automatically',
@@ -123,7 +123,10 @@
{{ report.version.files.find((f) => f.primary)?.filename || 'Unknown Version' }}
</span>
<span
v-if="report.item_type === 'shared-instance' && report.shared_instance_version_id"
v-if="
report.item_type === 'shared-instance' &&
report.shared_instance_version_id !== undefined
"
class="text-sm text-secondary"
>
Version {{ report.shared_instance_version_id }}
@@ -520,9 +523,10 @@ async function loadSharedInstanceDetails() {
}
const reportedVersion = props.report.shared_instance_version_id
const versionNumbers = reportedVersion
? Array.from({ length: reportedVersion }, (_, index) => reportedVersion - index)
: []
const versionNumbers =
reportedVersion !== undefined
? Array.from({ length: reportedVersion + 1 }, (_, index) => reportedVersion - index)
: []
const [versionDetails, otherInstancesResult] = await Promise.all([
Promise.all(
versionNumbers.map(async (versionNumber) => {
+3 -3
View File
@@ -2928,13 +2928,13 @@
"message": "Email verification required"
},
"modal.shared-instance.open-in-app.benefit.install": {
"message": "Automatically install the required game and loader"
"message": "Automatically install everything theyre playing"
},
"modal.shared-instance.open-in-app.benefit.join": {
"message": "Join the shared instance in one click"
"message": "Play the same content as your friends"
},
"modal.shared-instance.open-in-app.benefit.update": {
"message": "Keep shared content updated when the instance changes"
"message": "Keep shared content up to date as it changes"
},
"modal.shared-instance.open-in-app.get-app": {
"message": "Get Modrinth App"
@@ -217,12 +217,6 @@ function expandedCardPosition(index: number) {
function cardPosition(index: number) {
const position = isExpanded.value ? expandedCardPosition(index) : collapsedCardPosition(index)
const item = props.items[index]
if (index === 0 && singleItemEntrance.value) {
return {
...position,
opacity: 0,
}
}
if (!item || !enteringItemIds.value.has(item.id)) return position
return {