fix: undefined functions/properties across frontend (#4210)

* fix: notification mark as read

* revert: composition API change

* fix: categories

* feat: enable vue/no-undef-properties in 'warn' mode.

* fix: app undefined properties

* revert: ss block

* fix: eslint-disable for [version].vue
This commit is contained in:
Cal H.
2025-08-18 12:46:58 +01:00
committed by GitHub
parent 166d14e7e1
commit 5ffe14f058
22 changed files with 684 additions and 556 deletions

View File

@@ -110,7 +110,7 @@
placeholder="Path to launcher"
@change="setPath"
/>
<Button class="r-btn" @click="() => (selectedLauncherPath = '')">
<Button class="r-btn" @click="() => (selectedProfileType.path = '')">
<XIcon />
</Button>
</div>

View File

@@ -1,10 +1,14 @@
<template>
<div v-if="!hidden" class="splash-screen dark" :class="{ 'fade-out': doneLoading }">
<div v-if="os !== 'MacOS'" class="app-buttons">
<button class="btn icon-only transparent" icon-only @click="() => getCurrent().minimize()">
<button
class="btn icon-only transparent"
icon-only
@click="() => getCurrentWindow().minimize()"
>
<MinimizeIcon />
</button>
<button class="btn icon-only transparent" @click="() => getCurrent().toggleMaximize()">
<button class="btn icon-only transparent" @click="() => getCurrentWindow().toggleMaximize()">
<MaximizeIcon />
</button>
<button class="btn icon-only transparent" @click="handleClose">