rhtyd commented on a change in pull request #116: [WIP] - Add LDAP Account Form
URL: https://github.com/apache/cloudstack-primate/pull/116#discussion_r368443937
##########
File path: src/components/view/ActionButton.vue
##########
@@ -44,7 +44,7 @@
v-if="action.api in $store.getters.apis &&
!action.showBadge &&
((!dataView && (action.listView || action.groupAction &&
selectedRowKeys.length > 0)) || (dataView && action.dataView)) &&
- ('show' in action ? action.show(resource, $store.getters.userInfo) :
true)"
+ ('show' in action ? action.show(resource, $store.getters.userInfo,
$store.getters.isLdapEnabled) : true)"
Review comment:
I'm thinking to get rid of this at this.$store must be accessible by all
parts of the code; or simply only pass $store.
----------------------------------------------------------------
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]
With regards,
Apache Git Services