Skip to content

Commit

Permalink
pkp/pkp-lib#5540 Fix for failing test (console statement)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Aug 5, 2020
1 parent a8af6a2 commit 957cacf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/Form/context/DateTimeForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
'name': null,
'value': null
}
}
};
},
methods: {
/**
Expand Down Expand Up @@ -83,7 +83,6 @@ export default {
* @returns array updated fields
*/
updateFields: function(newFields, name, localeKey, shortDateTime, longDateTime) {
console.log(this.fields.find(element => element.name === 'datetimeFormatLong'));
return newFields.map(field => {
if ((name === 'dateFormatShort' || name === 'timeFormat') && field.name === 'datetimeFormatShort') {
Expand Down Expand Up @@ -116,5 +115,5 @@ export default {
});
}
}
}
};
</script>

0 comments on commit 957cacf

Please sign in to comment.