Revert "toggle the show ordinals label button to hide, when in show ordinal mode"
This reverts commit 51215f11af.
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
scope.sortableOptionsGroup = {};
|
||||
scope.sortableOptionsProperty = {};
|
||||
scope.sortingButtonKey = "general_reorder";
|
||||
scope.showOrdinalsButtonKey = "general_showOrdinals";
|
||||
|
||||
function activate() {
|
||||
|
||||
@@ -247,11 +246,9 @@
|
||||
scope.toggleSortOrderOverride = function (tool) {
|
||||
if (scope.showSortOrdinals === true) {
|
||||
scope.showSortOrdinals = false;
|
||||
scope.showOrdinalsButtonKey = "general_showOrdinals";
|
||||
}
|
||||
else {
|
||||
scope.showSortOrdinals = true;
|
||||
scope.showOrdinalsButtonKey = "general_hideOrdinals";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<umb-button ng-if="sortingMode !== false"
|
||||
type="button"
|
||||
button-style="link"
|
||||
label-key="{{showOrdinalsButtonKey}}"
|
||||
label-key="general_showSortOrdinals"
|
||||
icon="icon-poker-chip"
|
||||
action="toggleSortOrderOverride();">
|
||||
</umb-button>
|
||||
|
||||
Reference in New Issue
Block a user