DEV: removes deprecated property() usage from topic-footer-button api (#7930)

DEV: removes deprecated property() usage from topic-footer-button api (#7930)

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 8c132c8..b6e5c5c 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() {

GitHub sha: 1d38bf7e