Fix WP Sync

- added missing translations in listings (responsive view)
This commit is contained in:
Jonathan Labreuille
2016-05-19 14:28:28 +02:00
parent 046127eeba
commit 6074aa927b
6 changed files with 67 additions and 63 deletions

View File

@@ -119,7 +119,6 @@ define([
}
extractTimeStamp() {
const timeStamp = parseInt(this.props.item[this.props.field.name], 10);
this.setState({
year: Moment.unix(timeStamp).year(),
// Moment returns the month as [0..11]

View File

@@ -106,7 +106,6 @@ define(
item[field.name] = this.state.item[field.name];
}
}.bind(this));
// set id if specified
if(this.props.params.id !== undefined) {
item.id = this.props.params.id;