mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
💄 status menu
This commit is contained in:
parent
b4c73e7ca1
commit
b601a9af7c
5 changed files with 6 additions and 2 deletions
|
|
@ -252,6 +252,7 @@ export const openFileAttr = (attrs: IObject, id: string, focusName = "bookmark")
|
|||
window.siyuan.menus.menu.remove();
|
||||
if (response.data.length === 0) {
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
iconHTML: Constants.ZWSP,
|
||||
label: window.siyuan.languages.emptyContent,
|
||||
type: "readonly",
|
||||
}).element);
|
||||
|
|
@ -458,6 +459,7 @@ export const openAttr = (nodeElement: Element, protyle: IProtyle, focusName = "b
|
|||
window.siyuan.menus.menu.remove();
|
||||
if (response.data.length === 0) {
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
iconHTML: Constants.ZWSP,
|
||||
label: window.siyuan.languages.emptyContent,
|
||||
type: "readonly",
|
||||
}).element);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue