mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
🚨
This commit is contained in:
parent
86fab2b36a
commit
d1851255af
4 changed files with 15 additions and 15 deletions
|
|
@ -1092,7 +1092,7 @@ export const openMenuPanel = (options: {
|
|||
return true;
|
||||
}
|
||||
});
|
||||
const isTwoWay = colData.type === "relation" && colData.relation?.isTwoWay
|
||||
const isTwoWay = colData.type === "relation" && colData.relation?.isTwoWay;
|
||||
if (isCustomAttr || isTwoWay) {
|
||||
const dialog = new Dialog({
|
||||
title: isTwoWay ? window.siyuan.languages.removeCol.replace("${x}", menuElement.querySelector("input").value) : window.siyuan.languages.deleteOpConfirm,
|
||||
|
|
@ -1145,7 +1145,7 @@ export const openMenuPanel = (options: {
|
|||
}
|
||||
target = target.parentElement;
|
||||
}
|
||||
})
|
||||
});
|
||||
} else {
|
||||
removeCol({
|
||||
protyle: options.protyle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue