Skip to content

Commit

Permalink
fix: add in for topology route
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiWithJai committed Dec 15, 2021
1 parent 6f9c316 commit 8a29d25
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions ui/app/controllers/topology.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,11 @@ export default class TopologyControllers extends Controller {
this.filteredNodes = filteredNodesError.context;
}
}

get breadcrumb() {
return {
label: 'Topology',
args: ['topology'],
};
}
}
4 changes: 1 addition & 3 deletions ui/app/templates/topology.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{{#each this.breadcrumbs as |crumb|}}
<Breadcrumb @crumb={{crumb}} />
{{/each}}
<Breadcrumb @crumb={{breadcrumb}} />
{{page-title "Cluster Topology"}}
<PageLayout>
<section class="section is-full-width">
Expand Down
2 changes: 1 addition & 1 deletion ui/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function(environment) {
APP: {
blockingQueries: true,
// TODO: revert before merging to main.
mirageScenario: 'allJobTypes', // convert to 'sysbatchSmall' when working on feature
mirageScenario: 'sysbatchSmall', // convert to 'sysbatchSmall' when working on feature
mirageWithNamespaces: false,
mirageWithTokens: true,
mirageWithRegions: true,
Expand Down

0 comments on commit 8a29d25

Please sign in to comment.