This commit is contained in:
Calum H.
2026-03-12 23:09:26 +00:00
committed by GitHub
parent ba06c89a0e
commit 32d76b8025
8 changed files with 39 additions and 14 deletions

View File

@@ -98,7 +98,10 @@ const fileNameRef = ref<HTMLElement | null>(null)
/>
<div class="flex min-w-0 items-center gap-3">
<div v-tooltip="installing ? formatMessage(commonMessages.installingLabel) : undefined" class="relative shrink-0">
<div
v-tooltip="installing ? formatMessage(commonMessages.installingLabel) : undefined"
class="relative shrink-0"
>
<Avatar
:src="project.icon_url"
:alt="project.title"

View File

@@ -284,7 +284,9 @@ function handleSort(column: ContentCardTableSortColumn) {
'border-0 border-t border-solid border-surface-4',
visibleRange.start + idx === items.length - 1 && !flat ? 'rounded-b-[20px]' : '',
]"
@update:selected="(val) => toggleItemSelection(item.id, val ?? false, visibleRange.start + idx)"
@update:selected="
(val) => toggleItemSelection(item.id, val ?? false, visibleRange.start + idx)
"
@update:enabled="(val) => emit('update:enabled', item.id, val)"
@delete="emit('delete', item.id)"
@update="emit('update', item.id)"

View File

@@ -187,7 +187,9 @@ export function useInlineBackup(backupName: string | (() => string)) {
text: 'The backup has been cancelled. You can create a new one or proceed without a backup.',
})
} catch {
isBackingUp.value = false
isCancelling.value = false
backupFailed.value = true
}
}

View File

@@ -665,7 +665,7 @@ async function handleModpackUpdate() {
addNotification({
type: 'error',
title: formatMessage(messages.failedToLoadVersions),
text: err instanceof Error ? err.message : undefined,
text: err instanceof Error ? err.message : undefined,
})
} finally {
loadingVersions.value = false

View File

@@ -506,6 +506,18 @@
"header.category.resolutions": {
"defaultMessage": "Resolution"
},
"hosting.content.failed-to-bulk-delete": {
"defaultMessage": "Failed to delete content"
},
"hosting.content.failed-to-bulk-disable": {
"defaultMessage": "Failed to disable content"
},
"hosting.content.failed-to-bulk-enable": {
"defaultMessage": "Failed to enable content"
},
"hosting.content.failed-to-bulk-update": {
"defaultMessage": "Failed to update content"
},
"hosting.content.failed-to-load-modpack-content": {
"defaultMessage": "Failed to load modpack content"
},
@@ -893,6 +905,9 @@
"label.installed-modpack": {
"defaultMessage": "Installed modpack"
},
"label.installing": {
"defaultMessage": "Installing..."
},
"label.loading": {
"defaultMessage": "Loading..."
},