mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31: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];
|
||||
|
||||
let pluginLabel = pluginName;
|
||||
if (betaPlugins.includes(plugin)) {
|
||||
if (betaPlugins.includes(pluginLabel)) {
|
||||
pluginLabel += ' [beta]';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user