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

This commit is contained in:
Joffrey JAFFEUX 2019-07-24 13:55:18 +02:00 committed by GitHub
parent e83dcfdb7b
commit 1d38bf7e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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() {