♻️ rm hasContext

This commit is contained in:
Vanessa 2022-08-06 01:02:55 +08:00
parent e40bc18d86
commit d2a6c03d52
27 changed files with 31 additions and 92 deletions

View file

@ -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],
});
});