mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add removeProtocolHandlers to LensExtension
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
97c50e50e4
commit
9f77b060c8
2 files changed
+10
No files matched your search
@@ -56,6 +56,12 @@ export class LensExtension {
|
||||
lpr.extensionOn(this.id, pathSchema, handler);
|
||||
}
|
||||
|
||||
removeProtocolHandlers(): void {
|
||||
const lpr = LensProtocolRouter.getInstance<LensProtocolRouter>();
|
||||
|
||||
lpr.removeExtensionHandlers(this.id);
|
||||
}
|
||||
|
||||
get description() {
|
||||
return this.manifest.description;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user