client: fix lints in general.vue

Removed some unused variables and added return type to reloadAsk
This commit is contained in:
Norm 2022-09-07 12:57:39 -04:00
parent 7a981de883
commit 0d02914de4
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -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',