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({