fix: some more polish

This commit is contained in:
2025-04-27 18:53:01 +00:00
parent 6a32ad65a5
commit 240f60b283
6 changed files with 23 additions and 11 deletions

View File

@ -114,6 +114,8 @@ const menuItems = computed(() => {
icon: 'pi pi-exclamation-circle',
command: async () => await startline(true, false),
},
];
let baseTail = [
{
label: t('start.button.help'),
icon: 'pi pi-question-circle',
@ -137,7 +139,7 @@ const menuItems = computed(() => {
];
}
if (prf.current.meta.game === 'chunithm') {
return base;
return [...base, ...baseTail];
}
if (prf.current.meta.game === 'ongeki') {
return [
@ -152,6 +154,7 @@ const menuItems = computed(() => {
icon: 'pi pi-trash',
command: async () => await invoke('clear_cache'),
},
...baseTail,
];
}
});