Skip to content

Commit 5359da1

Browse files
authored
fix: applying folds on reopening the app (#1264)
1 parent cfbf398 commit 5359da1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib/editorFile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,6 @@ export default class EditorFile {
987987
* @param {Array<Fold>} folds
988988
*/
989989
static #parseFolds(folds) {
990-
if (this.type !== "editor") return [];
991990
if (!Array.isArray(folds)) return [];
992991

993992
const foldDataAr = [];

0 commit comments

Comments
 (0)