mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 05:20:01 +00:00
fix isOfficial bool condition
This commit is contained in:
parent
166fc2e78b
commit
805d457f68
@ -62,7 +62,7 @@ export class PluginManagerService {
|
|||||||
version: item.package.version,
|
version: item.package.version,
|
||||||
homepage: item.package.links.homepage,
|
homepage: item.package.links.homepage,
|
||||||
author: (item.package.author || {}).name,
|
author: (item.package.author || {}).name,
|
||||||
isOfficial: item.package.publisher.name === OFFICIAL_NPM_ACCOUNT,
|
isOfficial: item.package.publisher.username === OFFICIAL_NPM_ACCOUNT,
|
||||||
}))
|
}))
|
||||||
),
|
),
|
||||||
map(plugins => plugins.filter(x => x.packageName.startsWith(namePrefix))),
|
map(plugins => plugins.filter(x => x.packageName.startsWith(namePrefix))),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user