File tree Expand file tree Collapse file tree
meta_configurator/src/components/panels/gui-editor/properties Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,9 +23,12 @@ const dateValue = ref<Date | undefined>(
2323 props .propertyData ? new Date (props .propertyData ) : undefined
2424);
2525
26- watch (() => props .propertyData , newVal => {
27- dateValue .value = newVal ? new Date (newVal ) : undefined ;
28- });
26+ watch (
27+ () => props .propertyData ,
28+ newVal => {
29+ dateValue .value = newVal ? new Date (newVal ) : undefined ;
30+ }
31+ );
2932
3033function updateValue(newDate : Date | undefined ) {
3134 if (! newDate ) {
Original file line number Diff line number Diff line change @@ -23,9 +23,12 @@ const emit = defineEmits<{
2323
2424const newPropertyData = ref (props .propertyData );
2525
26- watch (() => props .propertyData , newVal => {
27- newPropertyData .value = newVal ;
28- });
26+ watch (
27+ () => props .propertyData ,
28+ newVal => {
29+ newPropertyData .value = newVal ;
30+ }
31+ );
2932
3033function updateValue() {
3134 emit (' update:propertyData' , newPropertyData .value );
@@ -52,4 +55,4 @@ function updateValue() {
5255.tableInput {
5356 border : v-bind(" settings.guiEditor.showBorderAroundInputFields ? '1px solid #d1d5db' : 'none'" );
5457}
55- </style >
58+ </style >
You can’t perform that action at this time.
0 commit comments