Remove old WebGUI::Utility isIn and replace with smart match.
This commit is contained in:
parent
d1f3d0771d
commit
398c3afdfd
2 changed files with 2 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ sub view {
|
|||
push(@found, $child->getId);
|
||||
##Filter based on visibility
|
||||
next CHILD unless $child->canView;
|
||||
next CHILD if isIn($asset, @hidden);
|
||||
next CHILD if $asset ~~ @hidden;
|
||||
##Detect child types
|
||||
my $is_shortcut = $child->isa('WebGUI::Asset::Shortcut');
|
||||
my $is_dashlet = $child->can('getOverrideFormDefinition');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue