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:
parent
503c6f440a
commit
6702a1b2cc
27 changed files with 513 additions and 81 deletions
|
@ -55,6 +55,10 @@ export class PluginManager {
|
|||
|
||||
// ###################### Getters ######################
|
||||
|
||||
isRegistered (npmName: string) {
|
||||
return !!this.getRegisteredPluginOrTheme(npmName)
|
||||
}
|
||||
|
||||
getRegisteredPluginOrTheme (npmName: string) {
|
||||
return this.registeredPlugins[npmName]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue