fix: some more polish
This commit is contained in:
@ -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,
|
||||
];
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user