Added image upload indicator
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user