diff --git a/js/src/forum/components/UploadButton.js b/js/src/forum/components/UploadButton.js
index 8675ce6e..0d39f335 100644
--- a/js/src/forum/components/UploadButton.js
+++ b/js/src/forum/components/UploadButton.js
@@ -1,4 +1,4 @@
-import app from 'flarum/common/app';
+import app from 'flarum/forum/app';
import Component from 'flarum/common/Component';
import Button from 'flarum/common/components/Button';
import LoadingIndicator from 'flarum/common/components/LoadingIndicator';
@@ -40,7 +40,7 @@ export default class UploadButton extends Component {
onclick={this.uploadButtonClicked.bind(this)}
disabled={this.attrs.disabled}
>
- {this.attrs.uploader.uploading &&