mirror of
https://github.com/Eugeny/tabby.git
synced 2024-09-11 04:43:03 +03: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,
|
||||
homepage: item.package.links.homepage,
|
||||
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))),
|
||||
|
Loading…
Reference in New Issue
Block a user