mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
minor fixes
This commit is contained in:
parent
8e7aeab3a6
commit
ddfc8b9621
@ -84,6 +84,8 @@ let PieceContainer = React.createClass({
|
||||
|
||||
IT SHOULD BE REMOVED AND REPLACED WITH A BETTER SOLUTION ASAP!
|
||||
|
||||
ALSO, WE ENABLED THE LOAN BUTTON FOR IKONOTV TO LET THEM LOAN ON A PIECE LEVEL
|
||||
|
||||
*/
|
||||
if(state && state.piece && state.piece.acl && typeof state.piece.acl.acl_loan !== 'undefined') {
|
||||
|
||||
|
@ -216,6 +216,8 @@ let CylandRegisterPiece = React.createClass({
|
||||
gallery="Cyland Archive"
|
||||
startdate={today}
|
||||
enddate={datetimeWhenWeAllWillBeFlyingCoolHoverboardsAndDinosaursWillLiveAgain}
|
||||
showStartDate={false}
|
||||
showEndDate={false}
|
||||
showPersonalMessage={false}
|
||||
handleSuccess={this.handleLoanSuccess}>
|
||||
<Property
|
||||
|
@ -82,6 +82,7 @@ let IkonotvPieceContainer = React.createClass({
|
||||
PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search,
|
||||
this.state.orderBy, this.state.orderAsc, this.state.filterBy);
|
||||
|
||||
this.loadPiece();
|
||||
let notification = new GlobalNotificationModel(response.notification, 'success', 10000);
|
||||
GlobalNotificationActions.appendGlobalNotification(notification);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user