Skip to content

Commit 4b1fc19

Browse files
authored
ui: Refresh Usage dashboard when swapping between Project and Default view (#5447)
1 parent 3f827ef commit 4b1fc19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/views/dashboard/UsageDashboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default {
137137
this.$store.watch(
138138
(state, getters) => getters.project,
139139
(newValue, oldValue) => {
140-
if (newValue && newValue.id) {
140+
if (newValue && newValue !== oldValue) {
141141
this.fetchData()
142142
}
143143
}

0 commit comments

Comments
 (0)