mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
♻️ rm hasContext
This commit is contained in:
parent
e40bc18d86
commit
d2a6c03d52
27 changed files with 31 additions and 92 deletions
|
|
@ -98,7 +98,6 @@ export class Outline extends Model {
|
|||
fetchPost("/api/block/checkBlockFold", {id}, (foldResponse) => {
|
||||
openFileById({
|
||||
id,
|
||||
hasContext: !foldResponse.data,
|
||||
action: foldResponse.data ? [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL] : [Constants.CB_GET_FOCUS, Constants.CB_GET_SETID],
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue