mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-25 01:36:09 +01:00
📝
This commit is contained in:
parent
3fced58e30
commit
04c6dc940a
1 changed files with 4 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ import {getCurrentWindow, systemPreferences} from "@electron/remote";
|
|||
import {onGet} from "../util/onGet";
|
||||
import {saveScroll} from "../scroll/saveScroll";
|
||||
import {hideElements} from "../ui/hideElements";
|
||||
import {confirmDialog} from "../../dialog/confirmDialog";
|
||||
|
||||
export class Breadcrumb {
|
||||
public element: HTMLElement;
|
||||
|
|
@ -252,7 +253,9 @@ export class Breadcrumb {
|
|||
label: window.siyuan.languages.share2Liandi,
|
||||
icon: "iconLiandi",
|
||||
click() {
|
||||
fetchPost("/api/export/export2Liandi", {id: protyle.block.parentID});
|
||||
confirmDialog(window.siyuan.languages.share2Liandi, "", () => {
|
||||
fetchPost("/api/export/export2Liandi", {id: protyle.block.parentID});
|
||||
})
|
||||
}
|
||||
}).element);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue