mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(client): freeze if empty doc
This commit is contained in:
parent
f50f767e79
commit
7b8c4d2179
@ -79,6 +79,7 @@ export default class DocTypeWidget extends TypeWidget {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$content.empty();
|
this.$content.empty();
|
||||||
|
resolve();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user