Skip to content

Commit

Permalink
frontend: fix pvc delete redirect error
Browse files Browse the repository at this point in the history
  • Loading branch information
BennieMeng committed Jan 11, 2019
1 parent 4f65055 commit a003446
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class PersistentVolumeClaimComponent implements OnInit, OnDestroy {
.subscribe(
response => {
this.messageHandlerService.showSuccess('PVC删除成功!');
this.router.navigate(['portal', 'app', this.app.id, 'persistentvolumeclaim']);
this.router.navigate(['portal', 'namespace', this.cacheService.namespaceId, 'app', this.app.id, 'persistentvolumeclaim']);
},
error => {
this.messageHandlerService.handleError(error);
Expand Down

0 comments on commit a003446

Please sign in to comment.