Skip to content

Commit ca870df

Browse files
authored
UI: Fixes issue during logout as user / domain admin (#5476)
1 parent 0facba9 commit ca870df

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 !== oldValue) {
140+
if (newValue && (!oldValue || newValue.id !== oldValue.id)) {
141141
this.fetchData()
142142
}
143143
}

0 commit comments

Comments
 (0)