From 58335f6bb78507cd76bce9da302b5e7d02f41cc1 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 1 Jul 2023 12:05:57 +0800 Subject: [PATCH] :art: type https://github.com/siyuan-note/siyuan/issues/7536 --- app/src/protyle/render/av/cell.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 58b8fa579..f24d4878e 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -100,13 +100,13 @@ export const showHeaderCellMenu = (protyle: IProtyle, blockElement: HTMLElement, id: cellElement.getAttribute("data-id"), parentID: blockElement.getAttribute("data-av-id"), name: newValue, - type: cellElement.getAttribute("data-dtype") as TAVCol, + type, }], [{ action: "updateAttrViewCol", id: cellElement.getAttribute("data-id"), parentID: blockElement.getAttribute("data-av-id"), name: cellElement.textContent.trim(), - type: cellElement.getAttribute("data-dtype") as TAVCol, + type, }]); }); menu.addItem({