You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/09/14 09:45:05 UTC

[GitHub] [cloudstack] Pearl1594 commented on a change in pull request #5447: ui: Refresh Usage dashboard when swapping between Project and Default view

Pearl1594 commented on a change in pull request #5447:
URL: https://github.com/apache/cloudstack/pull/5447#discussion_r708100815



##########
File path: ui/src/views/dashboard/UsageDashboard.vue
##########
@@ -137,7 +137,7 @@ export default {
     this.$store.watch(
       (state, getters) => getters.project,
       (newValue, oldValue) => {
-        if (newValue && newValue.id) {
+        if (newValue && newValue !== oldValue) {

Review comment:
       there is no id for default view @shwstppr 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org