mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-04 06:31:47 +01:00
This commit is contained in:
parent
fb325f6117
commit
2047fe84f2
1 changed files with 3 additions and 1 deletions
|
|
@ -431,7 +431,9 @@ export const setFilter = async (options: {
|
|||
let value = "";
|
||||
if (filterValue) {
|
||||
if (filterValue.type === "mAsset") {
|
||||
value = filterValue.mAsset[0]?.content || "";
|
||||
if (filterValue.mAsset) {
|
||||
value = filterValue.mAsset[0]?.content || "";
|
||||
}
|
||||
} else {
|
||||
value = filterValue[filterValue.type as "text"].content || "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue