Skip to content

Commit

Permalink
fix: realtime defaults to false
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Feb 14, 2024
1 parent 6445046 commit ae8206f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async function setCalcationResult(element) {
// TODO: input event below triggers save for all input elements but will not save for regular elements
if (element.setValue) {
element.setValue(result)
if (object && isRealtime != "false") {
if (object && isRealtime && isRealtime !== "false") {
element.save(element);
}
}
Expand Down

0 comments on commit ae8206f

Please sign in to comment.