Fix lint
This commit is contained in:
parent
30e93e0880
commit
071e2b58b3
@ -7,7 +7,9 @@
|
|||||||
>
|
>
|
||||||
<div class="flex flex-col gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
<div class="max-w-[500px]">
|
<div class="max-w-[500px]">
|
||||||
<div class="font-extrabold text-contrast text-xl mb-1">Modrinth App v{{ update!.version }}</div>
|
<div class="font-extrabold text-contrast text-xl mb-1">
|
||||||
|
Modrinth App v{{ update!.version }}
|
||||||
|
</div>
|
||||||
<template v-if="!downloadInProgress && !downloadError">
|
<template v-if="!downloadInProgress && !downloadError">
|
||||||
<div class="mb-4 leading-tight">{{ formatMessage(messages.bodyVersion) }}</div>
|
<div class="mb-4 leading-tight">{{ formatMessage(messages.bodyVersion) }}</div>
|
||||||
<div class="text-sm text-secondary mb-3">
|
<div class="text-sm text-secondary mb-3">
|
||||||
@ -29,9 +31,7 @@
|
|||||||
<ButtonStyled color="brand">
|
<ButtonStyled color="brand">
|
||||||
<button @click="installUpdateNow">
|
<button @click="installUpdateNow">
|
||||||
<DownloadIcon />
|
<DownloadIcon />
|
||||||
{{
|
{{ formatMessage(messages.tryAgain) }}
|
||||||
formatMessage(messages.tryAgain)
|
|
||||||
}}
|
|
||||||
</button>
|
</button>
|
||||||
</ButtonStyled>
|
</ButtonStyled>
|
||||||
<ButtonStyled>
|
<ButtonStyled>
|
||||||
@ -74,13 +74,7 @@ import { defineMessages, useVIntl } from '@vintl/vintl'
|
|||||||
import { useTemplateRef, ref, computed } from 'vue'
|
import { useTemplateRef, ref, computed } from 'vue'
|
||||||
import { AppearingProgressBar, ButtonStyled, JoinedButtons } from '@modrinth/ui'
|
import { AppearingProgressBar, ButtonStyled, JoinedButtons } from '@modrinth/ui'
|
||||||
import type { JoinedButtonAction } from '@modrinth/ui'
|
import type { JoinedButtonAction } from '@modrinth/ui'
|
||||||
import {
|
import { ExternalIcon, DownloadIcon, RedoIcon, ClipboardCopyIcon } from '@modrinth/assets'
|
||||||
ExternalIcon,
|
|
||||||
DownloadIcon,
|
|
||||||
RightArrowIcon,
|
|
||||||
RedoIcon,
|
|
||||||
ClipboardCopyIcon,
|
|
||||||
} from '@modrinth/assets'
|
|
||||||
import { enqueueUpdateForInstallation, getUpdateSize } from '@/helpers/utils'
|
import { enqueueUpdateForInstallation, getUpdateSize } from '@/helpers/utils'
|
||||||
import { formatBytes } from '@modrinth/utils'
|
import { formatBytes } from '@modrinth/utils'
|
||||||
import { handleError } from '@/store/notifications'
|
import { handleError } from '@/store/notifications'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user