I have had managed to get the show_ifs working as they should, so far, until recently when they have stopped working.
The column had show_if constraints based on user roles, which was retrieved using an expression any(Profile Slice[Role]), where the Profile Slice is a slice that filters out all but the current user, and the [Role] column is the role associated with a user.
The show if was defined as:
or(any(Profile Slice[Role])=โAdminโ, any(Profile Slice[Role])=โModeratorโ)
One thing that I surmise might be causing the problem is that the view in which the problem is showing up is from a slice from the main table. Is that so that show_ifs donโt apply to slices?
Solved! Go to Solution.
That should work ok. Are you saying that on a different UX view this works ok? Is there a pattern of where it works and where it does not, given the exact same expression above?
BTW, your expression could also read:
in(any(Profile Slice[Role]), {โAdminโ,โModeratorโ} )
User | Count |
---|---|
15 | |
14 | |
8 | |
7 | |
4 |