Skip to content

Commit

Permalink
Fix Vue bool and timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Nov 21, 2023
1 parent 6e67556 commit 87db651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{{{raw}}}} {{ {{{{/raw}}}} new Date({{variable_to_read}} / 1000).toLocaleString() {{{{raw}}}} }} {{{{/raw}}}}
{{{{raw}}}} {{ {{{{/raw}}}} {{variable_to_read}} ? new Date({{variable_to_read}} / 1000).toLocaleString() : 'Missing timestamp' {{{{raw}}}} }} {{{{/raw}}}}
2 changes: 1 addition & 1 deletion templates/vue/field-types/bool/Checkbox/edit/imports.hbs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import '@material/mwc-checkbox';
impor '@material/mwc-formfield';
import '@material/mwc-formfield';

0 comments on commit 87db651

Please sign in to comment.