mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix misspell on tabulator filtering
This commit is contained in:
parent
fc935c197c
commit
be65fa50b8
3 changed files with 5 additions and 5 deletions
|
|
@ -96,8 +96,8 @@ function _baseSorter(aValue, bValue, params) {
|
|||
function _sortButtonGroup(column, formatName) {
|
||||
if (formatName !== "buttongroup") return;
|
||||
column.sorter = (a, b, aRow, bRow, column, dir, params) => {
|
||||
const aButtons = a.buttons;
|
||||
const bButtons = b.buttons;
|
||||
const aButtons = a?.buttons;
|
||||
const bButtons = b?.buttons;
|
||||
|
||||
const aValue = aButtons.map((btn) => btn.data.text).join(" ") || "";
|
||||
const bValue = bButtons.map((btn) => btn.data.text).join(" ") || "";
|
||||
|
|
@ -241,6 +241,7 @@ function applyTableFilter(tableInstance, filters) {
|
|||
}
|
||||
filtersSend.push(filters);
|
||||
}
|
||||
|
||||
tableInstance.setFilter(filtersSend);
|
||||
}
|
||||
|
||||
|
|
@ -258,7 +259,6 @@ function overrideDefaultFilters() {
|
|||
rowValue?.setting?.value ||
|
||||
rowValue?.value?.toLowerCase() ||
|
||||
rowValue?.text?.toLowerCase() ||
|
||||
buttons ||
|
||||
"";
|
||||
|
||||
return value;
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ body {
|
|||
|
||||
.select-dropdown-btn.normal,
|
||||
.list-dropdown-btn.normal {
|
||||
@apply my-0 px-2 py-2 text-sm leading-normal;
|
||||
@apply my-0 px-2 py-1.5 text-sm leading-normal;
|
||||
}
|
||||
|
||||
.select-dropdown-btn.sm,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue