mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
This commit is contained in:
parent
53a95ffbf7
commit
6690084caa
5 changed files with 32 additions and 23 deletions
|
|
@ -506,7 +506,7 @@ export const isCurrentEditor = (blockId: string) => {
|
|||
return true;
|
||||
};
|
||||
|
||||
const updateOutline = (models: IModels, protyle: IProtyle, reload = false) => {
|
||||
export const updateOutline = (models: IModels, protyle: IProtyle, reload = false) => {
|
||||
models.outline.find(item => {
|
||||
if (reload || (item.type === "pin" && (!protyle || item.blockId !== protyle.block?.rootID))) {
|
||||
let blockId = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue