mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 database
This commit is contained in:
parent
a329d073ab
commit
2775a9271f
1 changed files with 1 additions and 1 deletions
|
|
@ -560,7 +560,7 @@ export const getFiltersHTML = (data: IAVTable) => {
|
|||
data.columns.find((item) => {
|
||||
if (item.id === filter.column && item.type === filter.value.type) {
|
||||
let filterText = "";
|
||||
const filterValue = item.type === "rollup" ? (filter.value.rollup?.contents ? filter.value.rollup.contents[0] : {type: "rollup"} as IAVCellValue) : filter.value;
|
||||
const filterValue = item.type === "rollup" ? (filter.value.rollup?.contents?.length > 0 ? filter.value.rollup.contents[0] : {type: "rollup"} as IAVCellValue) : filter.value;
|
||||
if (filter.operator === "Is empty") {
|
||||
filterText = ": " + window.siyuan.languages.filterOperatorIsEmpty;
|
||||
} else if (filter.operator === "Is not empty") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue