shwstppr commented on a change in pull request #399:
URL: https://github.com/apache/cloudstack-primate/pull/399#discussion_r439345218
##########
File path: src/views/image/TemplateZones.vue
##########
@@ -110,6 +101,24 @@
</a-form>
</a-spin>
</a-modal>
+
+ <a-modal
+ v-if="'deleteTemplate' in $store.getters.apis"
Review comment:
Adding `v-if` in modal itself will make delete button visible
irrespective user access.
It is showing for read-only admin user

----------------------------------------------------------------
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:
[email protected]