mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
74b5badbbc
commit
ea19b8d3ac
1 changed files with 6 additions and 1 deletions
|
|
@ -611,6 +611,11 @@ const addAttrViewColAnimation = (options: {
|
|||
}
|
||||
return;
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/14724
|
||||
let colData;
|
||||
if (options.data) {
|
||||
colData = options.data.view.columns.find((item => item.id === options.id));
|
||||
}
|
||||
openMenuPanel({
|
||||
protyle: options.protyle,
|
||||
blockElement: options.blockElement,
|
||||
|
|
@ -618,7 +623,7 @@ const addAttrViewColAnimation = (options: {
|
|||
colId: options.id,
|
||||
editData: {
|
||||
previousID: options.previousID,
|
||||
colData: genColDataByType(options.type, options.id, options.name),
|
||||
colData: colData || genColDataByType(options.type, options.id, options.name),
|
||||
}
|
||||
});
|
||||
window.siyuan.menus.menu.remove();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue