1
1
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:
Thomas LACAZE 2022-08-20 21:33:29 +02:00 committed by Eugene
parent 166fc2e78b
commit 805d457f68

View File

@ -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))),