diff --git a/ui/src/views/dashboard/UsageDashboard.vue b/ui/src/views/dashboard/UsageDashboard.vue index bfda081add4..66b8395c7b3 100644 --- a/ui/src/views/dashboard/UsageDashboard.vue +++ b/ui/src/views/dashboard/UsageDashboard.vue @@ -137,7 +137,7 @@ export default { this.$store.watch( (state, getters) => getters.project, (newValue, oldValue) => { - if (newValue && newValue !== oldValue) { + if (newValue && (!oldValue || newValue.id !== oldValue.id)) { this.fetchData() } }