forked from FoundKeyGang/FoundKey
client: fix lints in general.vue
Removed some unused variables and added return type to reloadAsk
This commit is contained in:
parent
7a981de883
commit
0d02914de4
1 changed files with 1 additions and 5 deletions
|
@ -121,7 +121,7 @@ const lang = ref(localStorage.getItem('lang'));
|
||||||
const fontSize = ref(localStorage.getItem('fontSize'));
|
const fontSize = ref(localStorage.getItem('fontSize'));
|
||||||
const useSystemFont = ref(localStorage.getItem('useSystemFont') != null);
|
const useSystemFont = ref(localStorage.getItem('useSystemFont') != null);
|
||||||
|
|
||||||
async function reloadAsk() {
|
async function reloadAsk(): Promise<void> {
|
||||||
const { canceled } = await os.confirm({
|
const { canceled } = await os.confirm({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
text: i18n.ts.reloadToApplySetting,
|
text: i18n.ts.reloadToApplySetting,
|
||||||
|
@ -190,10 +190,6 @@ watch([
|
||||||
await reloadAsk();
|
await reloadAsk();
|
||||||
});
|
});
|
||||||
|
|
||||||
const headerActions = $computed(() => []);
|
|
||||||
|
|
||||||
const headerTabs = $computed(() => []);
|
|
||||||
|
|
||||||
definePageMetadata({
|
definePageMetadata({
|
||||||
title: i18n.ts.general,
|
title: i18n.ts.general,
|
||||||
icon: 'fas fa-cogs',
|
icon: 'fas fa-cogs',
|
||||||
|
|
Loading…
Reference in a new issue