mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +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 (["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",
|
||||
"Min", "Max"].includes(colData.rollup.calc.operator)) {
|
||||
"Percent not empty", "Percent unique values", "Unique values", "Percent checked", "Percent unchecked",
|
||||
"Sum", "Average", "Median", "Min", "Max"].includes(colData.rollup.calc.operator)) {
|
||||
filterValue.type = "number";
|
||||
} else if (["Checked", "Unchecked"].includes(colData.rollup.calc.operator)) {
|
||||
filterValue.type = "checkbox";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue