Skip to content

Commit 1bb5a17

Browse files
author
jleveugle
committed
fix(instances): wait translations before displaying breadcrumb
1 parent c8de7ae commit 1bb5a17

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/manager/modules/pci/src/projects/project/instances/instances.routing.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export default /* @ngInject */($stateProvider) => {
77
format: 'json',
88
},
99
resolve: {
10-
breadcrumb: /* @ngInject */ $translate => $translate.instant('pci_projects_project_instances_title'),
10+
breadcrumb: /* @ngInject */ $translate => $translate
11+
.refresh()
12+
.then(() => $translate.instant('pci_projects_project_instances_title')),
1113
addInstance: /* @ngInject */ ($state, projectId) => () => $state.go('pci.projects.project.instances.add', {
1214
projectId,
1315
}),

0 commit comments

Comments
 (0)