mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
ecbfb89239
commit
344a7ca950
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v
|
||||||
}
|
}
|
||||||
const created = protyle.options.history?.created;
|
const created = protyle.options.history?.created;
|
||||||
const snapshot = protyle.options.history?.snapshot;
|
const snapshot = protyle.options.history?.snapshot;
|
||||||
let newViewID = "";
|
let newViewID = e.getAttribute("custom-sy-av-view") || "";
|
||||||
if (typeof viewID === "string") {
|
if (typeof viewID === "string") {
|
||||||
newViewID = viewID;
|
newViewID = viewID;
|
||||||
fetchPost("/api/av/setDatabaseBlockView", {id: e.dataset.nodeId, viewID});
|
fetchPost("/api/av/setDatabaseBlockView", {id: e.dataset.nodeId, viewID});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue