Added image upload indicator

This commit is contained in:
Jori Lallo
2016-09-21 23:58:33 -07:00
parent 6184eb2617
commit d2acc014e6
4 changed files with 20 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ class DocumentEditStore {
@observable preview;
@observable isFetching;
@observable isSaving;
@observable isUploading;
/* Actions */
@@ -122,6 +123,10 @@ class DocumentEditStore {
this.text = '# Lets start with a title\n\nAnd continue from there...';
}
@action toggleUploadingIndicator = () => {
this.isUploading = !this.isUploading;
}
// Generic
persistSettings = () => {