Github user jburwell commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/1884#discussion_r95034584
--- Diff: ui/scripts/ui/widgets/listView.js ---
@@ -1922,7 +1922,14 @@
// List view header actions
if (listViewData.actions) {
+ // If a preFilter is set, then get the values. Else set this
to null
+ var filteredActions = listViewData.actionPreFilter ==
undefined ?
+ null : listViewData.actionPreFilter();
--- End diff --
Why not set to an empty list rather than ``null`` to avoid a potential null
error?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---