FIX upload hints

This commit is contained in:
Rafael dos Santos Silva
2016-07-30 15:39:11 -03:00
parent 9cb8d5d19e
commit 5d91355c97
2 changed files with 2 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
return allowsAttachments() ? "upload" : "picture-o";
},
@computed('controller.local')
@computed('local')
tip(local) {
const source = local ? "local" : "remote";
const authorized_extensions = authorizesAllExtensions() ? "" : `(${authorizedExtensions()})`;