Save avatars to le cloud in beforeSave hooks

Added encryption to uploads
Updated icon for team settings
This commit is contained in:
Tom Moor
2018-06-01 18:00:48 -04:00
parent a99a804ea0
commit 4c9f86c7f7
7 changed files with 39 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ class DropToImport extends React.Component<Props> {
const asset = await uploadFile(imageBlob, { name: this.file.name });
this.props.onSuccess(asset.url);
} catch (err) {
this.props.onError(err);
this.props.onError(err.message);
} finally {
this.isUploading = false;
this.isCropping = false;