Fix lint
This commit is contained in:
parent
3d4d0afa59
commit
9a43d49b3b
@ -364,9 +364,11 @@ async function checkUpdates() {
|
||||
if (!!update) {
|
||||
console.log(`Update ${update.version} is available.`)
|
||||
if (update.version === availableUpdate.value?.version) {
|
||||
console.log('Skipping update modal because the new version is the same as the dismissed update')
|
||||
console.log(
|
||||
'Skipping update modal because the new version is the same as the dismissed update',
|
||||
)
|
||||
} else {
|
||||
availableUpdate.value = update;
|
||||
availableUpdate.value = update
|
||||
updateModal.value.show(update)
|
||||
}
|
||||
}
|
||||
@ -475,7 +477,11 @@ function handleAuxClick(e) {
|
||||
<PlusIcon />
|
||||
</NavButton>
|
||||
<div class="flex flex-grow"></div>
|
||||
<NavButton v-if="!!availableUpdate" v-tooltip.right="'Update available'" :to="() => updateModal.show(availableUpdate)">
|
||||
<NavButton
|
||||
v-if="!!availableUpdate"
|
||||
v-tooltip.right="'Update available'"
|
||||
:to="() => updateModal.show(availableUpdate)"
|
||||
>
|
||||
<!-- TODO: Gray if updating on next restart -->
|
||||
<DownloadIcon class="text-brand-green" />
|
||||
</NavButton>
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
]
|
||||
},
|
||||
"productName": "Modrinth App",
|
||||
"version": "0.9.0",
|
||||
"version": "../app-frontend/package.json",
|
||||
"mainBinaryName": "Modrinth App",
|
||||
"identifier": "ModrinthApp",
|
||||
"plugins": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user