bugs with some elements not showing fixed
This commit is contained in:
parent
9023601396
commit
89826182c2
|
@ -5,7 +5,9 @@ function vnVisibleBy(aclService) {
|
|||
restrict: 'A',
|
||||
priority: -1,
|
||||
link: function($scope, $element, $attrs) {
|
||||
let acls = $attrs.vnVisibleBy.split(',');
|
||||
let acls = $attrs.vnVisibleBy.replace(/\s/g, '');
|
||||
acls = acls.split(',');
|
||||
|
||||
if (!aclService.hasAny(acls))
|
||||
$element[0].style.visibility = 'hidden';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue