spelling mistake corrected

This commit is contained in:
Niels Lyngsø
2020-04-28 08:15:57 +02:00
parent 1a69d5a7e6
commit a501ef1410
2 changed files with 3 additions and 3 deletions
@@ -77,11 +77,11 @@
scope.vm.hasCulture = true;
}
if (variant.segment !== null) {
scope.vm.hasSegment = true;
scope.vm.hasSegments = true;
}
});
scope.vm.hasVariants = (scope.vm.hasCulture || scope.vm.hasSegment);
scope.vm.hasVariants = (scope.vm.hasCulture || scope.vm.hasSegments);
checkErrorsOnOtherVariants();
@@ -49,7 +49,7 @@
<span ng-bind="editor.content.displayName"></span>
</span>
<umb-dropdown ng-if="vm.dropdownOpen" class="umb-variant-switcher" ng-class="{'--has-sub-variants': vm.hasSegment === true}" on-close="vm.dropdownOpen = false" umb-keyboard-list>
<umb-dropdown ng-if="vm.dropdownOpen" class="umb-variant-switcher" ng-class="{'--has-sub-variants': vm.hasSegments === true}" on-close="vm.dropdownOpen = false" umb-keyboard-list>
<umb-dropdown-item
ng-repeat-start="entry in vm.variantMenu track by $index"
class="umb-variant-switcher__item"