group index -100

This commit is contained in:
Yuri Kuznetsov
2024-07-07 15:26:08 +03:00
parent fb3bdde2c3
commit fd092a3eb1
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -557,7 +557,7 @@ class ModalView extends View {
return;
}
const index = item.groupIndex === undefined ? 9999 : item.groupIndex;
const index = (item.groupIndex === undefined ? 9999 : item.groupIndex) + 100;
if (dropdownGroups[index] === undefined) {
dropdownGroups[index] = [];
+1 -1
View File
@@ -1744,7 +1744,7 @@ class DetailRecordView extends BaseRecordView {
return;
}
const index = item.groupIndex === undefined ? 9999 : item.groupIndex;
const index = (item.groupIndex === undefined ? 9999 : item.groupIndex) + 100;
if (dropdownGroups[index] === undefined) {
dropdownGroups[index] = [];
@@ -172,7 +172,7 @@ class DefaultRowActionsView extends View {
return;
}
const index = item.groupIndex === undefined ? 9999 : item.groupIndex;
const index = (item.groupIndex === undefined ? 9999 : item.groupIndex) + 100;
if (dropdownGroups[index] === undefined) {
dropdownGroups[index] = [];
+4 -3
View File
@@ -159,7 +159,7 @@
},
"groupIndex": {
"type": "integer",
"minimum": 0,
"minimum": -100,
"description": "A group index."
}
}
@@ -573,7 +573,8 @@
"properties": {
"groupIndex": {
"type": "integer",
"description": "A group index. Groups are separated by a divider."
"description": "A group index. Groups are separated by a divider.",
"minimum": -100
},
"handler": {
"description": "A handler class for the mass action.",
@@ -1092,7 +1093,7 @@
},
"groupIndex": {
"type": "integer",
"minimum": 0,
"minimum": -100,
"description": "A group index"
}
}