Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Quelca committed Jun 11, 2024
1 parent ae34dd1 commit 403d97e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mixins/computedFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export default {
// Monitor if variable belongs to data (defined variables) or
// vdata (external variables)in this way the event is not
// executed again when the variable is update
console.log('start, evaluateExpression!');
const data = this.getDataReference(null, () => {
throw new Error(
"You are not allowed to set properties from inside an expression"
Expand All @@ -29,7 +28,6 @@ export default {
if (value instanceof Date) {
value = value.toISOString();
}
console.log('end-evaluateExpression!');
return value;
} catch (error) {
// Catch any errors and return them
Expand Down

0 comments on commit 403d97e

Please sign in to comment.