mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
This commit is contained in:
parent
c202d58bce
commit
fa17345793
1 changed files with 6 additions and 1 deletions
|
|
@ -1394,13 +1394,18 @@ export const openMenuPanel = (options: {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
break;
|
break;
|
||||||
} else if (type === "clearDate") {
|
} else if (type === "clearDate") {
|
||||||
|
const colData = fields.find((item: IAVColumn) => {
|
||||||
|
if (item.id === options.cellElements[0].getAttribute("data-col-id")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
});
|
||||||
updateCellsValue(options.protyle, options.blockElement as HTMLElement, {
|
updateCellsValue(options.protyle, options.blockElement as HTMLElement, {
|
||||||
isNotEmpty2: false,
|
isNotEmpty2: false,
|
||||||
isNotEmpty: false,
|
isNotEmpty: false,
|
||||||
content: null,
|
content: null,
|
||||||
content2: null,
|
content2: null,
|
||||||
hasEndDate: false,
|
hasEndDate: false,
|
||||||
isNotTime: true,
|
isNotTime: !colData.date.fillSpecificTime,
|
||||||
}, options.cellElements);
|
}, options.cellElements);
|
||||||
avPanelElement.remove();
|
avPanelElement.remove();
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue