Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
type={"error"}
hidden={!(this.state.validateErrorEvent && this.state.validateErrorMsg)}
onDismiss={HeaderStore.validateReset}
type={"error"}
hidden={!(this.state.validateErrorEvent && this.state.validateErrorMsg)}
onDismiss={HeaderStore.validateReset}
type={notificationType}
hidden={!(displayNotification && notificationMessage)}
onDismiss={SkyquakeContainerActions.hideNotification}
type={notificationType}
hidden={!(displayNotification && notificationMessage)}
onDismiss={SkyquakeContainerActions.hideNotification}
/>
<ScreenLoader show={displayScreenLoader}/>
<SkyquakeNav nav={this.state.nav}
/>
<ScreenLoader show={displayScreenLoader}/>
<SkyquakeNav nav={this.state.nav}
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
this.resetSelectionState();
}
}
this.resetSelectionState();
}
}
+ saveCatalogItemError(data){
+ let error = JSON.parse(data.error.responseText);
+ const errorMsg = error && error.body && error.body['rpc-reply'] && JSON.stringify(error.body['rpc-reply']['rpc-error'], null, ' ')
+ ComposerAppActions.showError.defer({
+ errorMessage: 'Unable to save the descriptor.\n' + errorMsg
+ });
+ }
}
export default alt.createStore(CatalogDataStore, 'CatalogDataStore');
}
export default alt.createStore(CatalogDataStore, 'CatalogDataStore');