Skip to content

Commit b15fa7c

Browse files
OlegoOekuvirtoksavosteev
authored
VCST-2525: Hides widget place holder if count of widgets is zero (#2874)
Co-authored-by: Kutasina Elena <[email protected]> Co-authored-by: Konstantin Savosteev <[email protected]>
1 parent 58ec219 commit b15fa7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VirtoCommerce.Platform.Web/wwwroot/js/app/navigation/widget/widgetContainer.tpl.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<div>
2-
<div gridster="gridsterOpts">
1+
<div>
2+
<div ng-if="widgets.length > 0" gridster="gridsterOpts">
33
<ul class="list">
44
<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]">
55
<div va-widget="widget" ng-include="widget.template"></div>

0 commit comments

Comments
 (0)