Skip to content

Commit a6b2fe8

Browse files
author
wilhelmguo
authored
Merge pull request #283 from wilhelmguo/hotfix/fix_create_or_clone_configtpl_url_error
Fix create or clone configtpl url redirect error
2 parents 72db278 + 67a67da commit a6b2fe8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/frontend/src/app/portal/configmap/configmap.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,14 @@ export class ConfigMapComponent implements AfterContentInit, OnDestroy, OnInit {
286286

287287
cloneConfigMapTpl(tpl: ConfigMapTpl) {
288288
if (tpl) {
289-
this.router.navigate([`portal/namespace/${this.cacheService.namespaceId}/app
290-
/${this.app.id}/configmap/${this.configMapId}/tpl/${tpl.id}`]);
289+
this.router.navigate([
290+
`portal/namespace/${this.cacheService.namespaceId}/app/${this.app.id}/configmap/${this.configMapId}/tpl/${tpl.id}`]);
291291
}
292292
}
293293

294294
createConfigMapTpl() {
295-
this.router.navigate([`portal/namespace/${this.cacheService.namespaceId}/app
296-
/${this.app.id}/configmap/${this.configMapId}/tpl`]);
295+
this.router.navigate([
296+
`portal/namespace/${this.cacheService.namespaceId}/app/${this.app.id}/configmap/${this.configMapId}/tpl`]);
297297
}
298298

299299
ngOnDestroy(): void {

src/frontend/src/assets/i18n/zh-Hans.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@
540540
"TYPE": "类型",
541541
"NAME": "名称",
542542
"MIN_REPLICAS": "最小副本数",
543-
"MAX_REPLICAS": "最小副本数",
543+
"MAX_REPLICAS": "最大副本数",
544544
"CPU_THRESHOLD": "CPU 负载阈值"
545545
},
546546
"UNIT": {

0 commit comments

Comments
 (0)