mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
This commit is contained in:
parent
8c71a4aad5
commit
b6363f6471
1 changed files with 2 additions and 2 deletions
|
|
@ -225,8 +225,8 @@ export const setFilter = async (options: {
|
||||||
}
|
}
|
||||||
if (colData.rollup.calc?.operator && colData.rollup.calc.operator !== "Range") {
|
if (colData.rollup.calc?.operator && colData.rollup.calc.operator !== "Range") {
|
||||||
if (["Count all", "Count empty", "Count not empty", "Count values", "Count unique values", "Percent empty",
|
if (["Count all", "Count empty", "Count not empty", "Count values", "Count unique values", "Percent empty",
|
||||||
"Percent not empty", "Percent unique values", "Percent checked", "Percent unchecked", "Sum", "Average", "Median",
|
"Percent not empty", "Percent unique values", "Unique values", "Percent checked", "Percent unchecked",
|
||||||
"Min", "Max"].includes(colData.rollup.calc.operator)) {
|
"Sum", "Average", "Median", "Min", "Max"].includes(colData.rollup.calc.operator)) {
|
||||||
filterValue.type = "number";
|
filterValue.type = "number";
|
||||||
} else if (["Checked", "Unchecked"].includes(colData.rollup.calc.operator)) {
|
} else if (["Checked", "Unchecked"].includes(colData.rollup.calc.operator)) {
|
||||||
filterValue.type = "checkbox";
|
filterValue.type = "checkbox";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue