mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 04:41:47 +00:00
fix(menu): type error
This commit is contained in:
2
menu.ts
2
menu.ts
@ -79,7 +79,7 @@ export const mainMenuTemplate = (win: BrowserWindow): MenuTemplate => {
|
|||||||
const getPluginMenu = pluginMenus[pluginName as keyof typeof pluginMenus];
|
const getPluginMenu = pluginMenus[pluginName as keyof typeof pluginMenus];
|
||||||
|
|
||||||
let pluginLabel = pluginName;
|
let pluginLabel = pluginName;
|
||||||
if (betaPlugins.includes(plugin)) {
|
if (betaPlugins.includes(pluginLabel)) {
|
||||||
pluginLabel += ' [beta]';
|
pluginLabel += ' [beta]';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user