forked from akanyan/STARTLINER
feat: remember current tab
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { Ref, ref } from 'vue';
|
||||
// import Select from 'primevue/select';
|
||||
import * as path from '@tauri-apps/api/path';
|
||||
import OptionCategory from './OptionCategory.vue';
|
||||
import PatchEntry from './PatchEntry.vue';
|
||||
@ -32,8 +33,6 @@ invoke('list_patches', { target: prf.current!.data.sgt.target }).then(
|
||||
target: amd,
|
||||
})) as Patch[];
|
||||
})();
|
||||
|
||||
const errorMessage = t('patch.noneFound');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@ -49,7 +48,7 @@ const errorMessage = t('patch.noneFound');
|
||||
/>
|
||||
<div v-if="gamePatches === null">{{ t('patch.loading') }}</div>
|
||||
<div v-if="gamePatches !== null && gamePatches.length === 0">
|
||||
{{ errorMessage }}
|
||||
{{ t('patch.noneFound') }}
|
||||
</div>
|
||||
</OptionCategory>
|
||||
<OptionCategory title="amdaemon.exe" always-found>
|
||||
@ -60,7 +59,20 @@ const errorMessage = t('patch.noneFound');
|
||||
/>
|
||||
<div v-if="gamePatches === null">Loading...</div>
|
||||
<div v-if="amdPatches !== null && amdPatches.length === 0">
|
||||
{{ errorMessage }}
|
||||
{{ t('patch.noneFound') }}
|
||||
<!-- <br />
|
||||
<Select
|
||||
class="mt-3"
|
||||
style="width: 400px"
|
||||
:options="[
|
||||
{},
|
||||
{},
|
||||
]"
|
||||
:placeholder="t('patch.forceLoad')"
|
||||
size="small"
|
||||
option-label="title"
|
||||
option-value="value"
|
||||
></Select> -->
|
||||
</div>
|
||||
</OptionCategory>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user