fix: support-page extension

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-11-11 17:39:24 +02:00
1 parent 9b55a5fd0a
commit 296ba9023f
7 files changed
+29 -28

No files matched your search

+3 -3
View File
@@ -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