group index -100
This commit is contained in:
@@ -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] = [];
|
||||
|
||||
@@ -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] = [];
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user