mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 02:31:45 +00:00
fix(plugin-loader): update context filtering logic for backend mode (#2990)
This commit is contained in:
@ -130,7 +130,7 @@ export default function (
|
||||
|
||||
const stubContexts =
|
||||
mode === 'backend'
|
||||
? contexts.filter((ctx) => ctx !== 'backend')
|
||||
? contexts.filter((ctx) => ctx !== 'menu')
|
||||
: contexts;
|
||||
for (const ctx of stubContexts) {
|
||||
if (stubMap.has(ctx)) {
|
||||
|
||||
Reference in New Issue
Block a user