mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🚨
This commit is contained in:
parent
56d12a2009
commit
4d908e62bd
9 changed files with 14 additions and 17 deletions
|
|
@ -46,7 +46,7 @@ export class Files extends Model {
|
|||
break;
|
||||
case "createnotebook":
|
||||
setNoteBook((notebooks) => {
|
||||
let previousId: string
|
||||
let previousId: string;
|
||||
notebooks.find(item => {
|
||||
if (!item.closed) {
|
||||
if (item.id === data.data.box.id) {
|
||||
|
|
@ -59,7 +59,7 @@ export class Files extends Model {
|
|||
}
|
||||
previousId = item.id;
|
||||
}
|
||||
})
|
||||
});
|
||||
});
|
||||
break;
|
||||
case "unmount":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue