mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +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/sort-comp": 1,
|
||||||
"react/wrap-multilines": 1
|
"react/wrap-multilines": 1
|
||||||
},
|
},
|
||||||
|
"globals": {
|
||||||
|
"Raven": true,
|
||||||
|
"Intercom": true,
|
||||||
|
"fetch": true
|
||||||
|
}
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"react"
|
"react"
|
||||||
],
|
],
|
||||||
|
@ -95,12 +95,7 @@ let AccordionListItem = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
onPollingSuccess(pieceId, numEditions) {
|
onPollingSuccess(pieceId, numEditions) {
|
||||||
PieceListActions.updatePropertyForPiece({
|
PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search, this.state.orderBy, this.state.orderAsc);
|
||||||
pieceId,
|
|
||||||
key: 'num_editions',
|
|
||||||
value: numEditions
|
|
||||||
});
|
|
||||||
|
|
||||||
EditionListActions.toggleEditionList(pieceId);
|
EditionListActions.toggleEditionList(pieceId);
|
||||||
|
|
||||||
let notification = new GlobalNotificationModel('Editions successfully created', 'success', 10000);
|
let notification = new GlobalNotificationModel('Editions successfully created', 'success', 10000);
|
||||||
|
Loading…
Reference in New Issue
Block a user