diff --git a/app/assets/javascripts/discourse/lib/register-topic-footer-button.js.es6 b/app/assets/javascripts/discourse/lib/register-topic-footer-button.js.es6 index 8c132c830bc..b6e5c5c5e93 100644 --- a/app/assets/javascripts/discourse/lib/register-topic-footer-button.js.es6 +++ b/app/assets/javascripts/discourse/lib/register-topic-footer-button.js.es6 @@ -68,7 +68,7 @@ export function getTopicFooterButtons() { .filter(x => x) ); - const computedFunc = Ember.computed({ + return Ember.computed(...dependentKeys, { get() { const _isFunction = descriptor => descriptor && typeof descriptor === "function"; @@ -122,8 +122,6 @@ export function getTopicFooterButtons() { .reverse(); } }); - - return computedFunc.property.apply(computedFunc, dependentKeys); } export function clearTopicFooterButtons() {