mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
9b55a5fd0a
commit
296ba9023f
7 files changed
+29
-28
No files matched your search
@@ -15,7 +15,7 @@ export interface LensExtensionManifest {
|
||||
}
|
||||
|
||||
export class LensExtension {
|
||||
readonly routePrefix = "/extensions/:name"
|
||||
readonly routePrefix = "/extension/:name"
|
||||
readonly manifest: LensExtensionManifest;
|
||||
readonly manifestPath: string;
|
||||
readonly isBundled: boolean;
|
||||
@@ -45,11 +45,11 @@ export class LensExtension {
|
||||
}
|
||||
|
||||
getPageUrl(baseUrl: string) {
|
||||
return compile(this.routePrefix)({ name: this.name }) + "/" + baseUrl
|
||||
return compile(this.routePrefix)({ name: this.name }) + baseUrl
|
||||
}
|
||||
|
||||
getPageRoute(baseRoute: string) {
|
||||
return this.routePrefix + "/" + baseRoute;
|
||||
return this.routePrefix + baseRoute;
|
||||
}
|
||||
|
||||
@action
|
||||
|
||||
Reference in new issue
Block a user