Skip to content

Commit de3c32c

Browse files
committed
feat: if realtime save on file selection
1 parent c657477 commit de3c32c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ async function fileEvent(event) {
180180
if (isRealtime && isRealtime !== 'false') {
181181
if (isImport || isImport == "") {
182182
Import(input)
183-
}
183+
} else if (input.save)
184+
input.save()
184185
}
185186
}
186187
} catch (error) {

0 commit comments

Comments
 (0)