Skip to content

[MNOE-932] Add option to view demo / frozen accounts in list of organisations#228

Open
MAhsenArif wants to merge 4 commits intomaestrano:1.0from
MAhsenArif:frozen_demo_account_filtering
Open

[MNOE-932] Add option to view demo / frozen accounts in list of organisations#228
MAhsenArif wants to merge 4 commits intomaestrano:1.0from
MAhsenArif:frozen_demo_account_filtering

Conversation

@MAhsenArif
Copy link
Copy Markdown
Contributor

No description provided.


listingFilters = (term) ->
term[ 'account_frozen' ] = !scope.hideFrozen if scope.hideFrozen
term[ 'demo_account' ] = !scope.hideDemo if scope.hideDemo
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would be more readable:

term[ 'account_frozen' ] = false if scope.hideFrozen
term[ 'demo_account' ] = false if scope.hideDemo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants