mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
fix globals lint errors and edition creation - 0 editions - bug
This commit is contained in:
parent
8e38e9e8de
commit
8cad3b521b
@ -31,6 +31,11 @@
|
||||
"react/sort-comp": 1,
|
||||
"react/wrap-multilines": 1
|
||||
},
|
||||
"globals": {
|
||||
"Raven": true,
|
||||
"Intercom": true,
|
||||
"fetch": true
|
||||
}
|
||||
"plugins": [
|
||||
"react"
|
||||
],
|
||||
|
@ -95,12 +95,7 @@ let AccordionListItem = React.createClass({
|
||||
},
|
||||
|
||||
onPollingSuccess(pieceId, numEditions) {
|
||||
PieceListActions.updatePropertyForPiece({
|
||||
pieceId,
|
||||
key: 'num_editions',
|
||||
value: numEditions
|
||||
});
|
||||
|
||||
PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search, this.state.orderBy, this.state.orderAsc);
|
||||
EditionListActions.toggleEditionList(pieceId);
|
||||
|
||||
let notification = new GlobalNotificationModel('Editions successfully created', 'success', 10000);
|
||||
|
Loading…
Reference in New Issue
Block a user