Skip to content

Commit bf17cf6

Browse files
authored
fix: don't save state of SAFMode="single" files (Acode-Foundation#1386)
1 parent 51f0fbe commit bf17cf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/saveState.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default () => {
1313
files.forEach((file) => {
1414
if (file.type !== "editor") return;
1515
if (file.id === constants.DEFAULT_FILE_SESSION) return;
16+
if (file.SAFMode === "single") return;
1617

1718
const fileJson = {
1819
id: file.id,

0 commit comments

Comments
 (0)