File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
src/Umbraco.Web.UI.Client/src/views Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 29
29
data-app-anchor ="{{group.id}} "
30
30
data-element ="group-{{group.alias}} "
31
31
ng-repeat ="group in content.tabs track by group.key "
32
- ng-show ="(group.parentAlias === activeTabAlias && group.type === 0) || tabs.length === 0 ">
32
+ ng-if ="group.type === 0 "
33
+ ng-show ="group.parentAlias === activeTabAlias || tabs.length === 0 ">
33
34
34
35
< div class ="umb-group-panel__header ">
35
36
< div id ="group-{{group.id}} "> {{ group.label }}</ div >
Original file line number Diff line number Diff line change 29
29
< div class ="umb-group-panel "
30
30
data-element ="group-{{group.alias}} "
31
31
ng-repeat ="group in vm.model.variants[0].tabs track by group.key "
32
- ng-show ="(group.parentAlias === vm.activeTabAlias && group.type === 0) || vm.tabs.length === 0 ">
32
+ ng-if ="group.type === 0 "
33
+ ng-show ="group.parentAlias === vm.activeTabAlias || vm.tabs.length === 0 ">
33
34
34
35
< div class ="umb-group-panel__header ">
35
36
< div id ="group-{{group.id}} "> {{ group.label }}</ div >
Original file line number Diff line number Diff line change 21
21
class ="umb-group-panel "
22
22
data-element ="group-{{group.alias}} "
23
23
ng-repeat ="group in content.tabs | filter: { hide : '!' + true } track by group.id "
24
- ng-show ="(group.parentAlias === vm.activeTabAlias && group.type === 0) || vm.tabs.length === 0 ">
24
+ ng-if ="group.type === 0 "
25
+ ng-show ="group.parentAlias === vm.activeTabAlias || vm.tabs.length === 0 ">
25
26
26
27
< div class ="umb-group-panel__header ">
27
28
< div > {{ group.label }}</ div >
Original file line number Diff line number Diff line change 21
21
class ="umb-group-panel "
22
22
data-element ="group-{{group.alias}} "
23
23
ng-repeat ="group in content.tabs "
24
- ng-show ="(group.parentAlias === vm.activeTabAlias && group.type === 0) || vm.tabs.length === 0 ">
24
+ ng-if ="group.type === 0 "
25
+ ng-show ="group.parentAlias === vm.activeTabAlias || vm.tabs.length === 0 ">
25
26
26
27
< div class ="umb-group-panel__header ">
27
28
< div > {{ group.label }}</ div >
You can’t perform that action at this time.
0 commit comments