Skip to content

Commit

Permalink
VCST-2525: Hides widget place holder if count of widgets is zero (#2874)
Browse files Browse the repository at this point in the history
Co-authored-by: Kutasina Elena <[email protected]>
Co-authored-by: Konstantin Savosteev <[email protected]>
  • Loading branch information
3 people authored Dec 30, 2024
1 parent 58ec219 commit b15fa7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div>
<div gridster="gridsterOpts">
<div>
<div ng-if="widgets.length > 0" gridster="gridsterOpts">
<ul class="list">
<li style="line-height: 120px;" class="list-item" ng-class="widget.UIclass" ng-repeat="widget in widgets" va-permission='{{widget.permission}}' securityScopes='{{widget.scopes}}' gridster-item row="$storage[getKey('row', widget)]" col="$storage[getKey('col', widget)]" size-x="widget.size[0]" size-y="widget.size[1]">
<div va-widget="widget" ng-include="widget.template"></div>
Expand Down

0 comments on commit b15fa7c

Please sign in to comment.