You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/08/31 13:58:35 UTC

[GitHub] [cloudstack-primate] davidjumani commented on a change in pull request #642: images: fix templates/ISOs all filter

davidjumani commented on a change in pull request #642:
URL: https://github.com/apache/cloudstack-primate/pull/642#discussion_r480149102



##########
File path: src/views/AutogenView.vue
##########
@@ -45,11 +45,11 @@
                 <a-select
                   v-if="!dataView && $route.meta.filters && $route.meta.filters.length > 0"
                   :placeholder="$t('label.filterby')"
-                  :value="$route.query.filter || (['Admin', 'DomainAdmin'].includes($store.getters.userInfo.roletype) && $route.name === 'vm' ? 'all' : 'self')"
+                  :value="$route.query.filter || (['Admin', 'DomainAdmin'].includes($store.getters.userInfo.roletype) && ['vm', 'iso', 'template'].includes($route.name) ? 'all' : 'self')"

Review comment:
       @shwstppr It shows all but the api calls `templatefilter=self`. Could you fix that ?




----------------------------------------------------------------
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.

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