Skip to content

Commit

Permalink
feat(ui): refactor TopologyTree to remove deps from portal-vue
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Feb 17, 2022
1 parent f636301 commit 561ab18
Show file tree
Hide file tree
Showing 8 changed files with 253 additions and 180 deletions.
18 changes: 9 additions & 9 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"md5": "^2.3.0",
"moment": "^2.29.1",
"moment-range": "4.0.2",
"portal-vue": "^2.1.7",
"prismjs": "^1.26.0",
"qs": "^6.10.3",
"throttle-debounce": "^3.0.1",
Expand Down
6 changes: 6 additions & 0 deletions ui/src/components/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
:to="to(tab)"
>
{{ tab.title }}
<b-badge
pill
v-if="tab.count !== undefined"
>
{{ tab.count }}
</b-badge>
</b-nav-item>
</b-nav>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/flows/FlowRoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
methods: {
load() {
this.$store.dispatch("flow/loadFlow", this.$route.params).then(() => {
return this.$store.dispatch("flow/loadFlow", this.$route.params).then(() => {
if (this.flow) {
this.$store.dispatch("flow/loadGraph", this.flow);
}
Expand Down
Loading

0 comments on commit 561ab18

Please sign in to comment.