1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Add ability to search available plugins

This commit is contained in:
Chocobozzz 2019-07-16 11:33:22 +02:00 committed by Chocobozzz
parent 503c6f440a
commit 6702a1b2cc
27 changed files with 513 additions and 81 deletions

View file

@ -55,6 +55,10 @@ export class PluginManager {
// ###################### Getters ######################
isRegistered (npmName: string) {
return !!this.getRegisteredPluginOrTheme(npmName)
}
getRegisteredPluginOrTheme (npmName: string) {
return this.registeredPlugins[npmName]
}