mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
fe9e261feb
commit
d85cd50670
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ export const getEditHTML = (options: {
|
|||
<span class="b3-menu__accelerator" style="margin-left: 0">${getColNameByType(colData.type)}</span>
|
||||
<svg class="b3-menu__icon b3-menu__icon--small"><use xlink:href="#iconRight"></use></svg>
|
||||
</button>`;
|
||||
if (colData.options && colData.options.length > 0) {
|
||||
if (["mSelect", "select"].includes(colData.type) && colData.options && colData.options.length > 0) {
|
||||
html += `<button class="b3-menu__separator"></button>
|
||||
<button class="b3-menu__item">
|
||||
<svg class="b3-menu__icon" style=""><use xlink:href="#iconAdd"></use></svg>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue