DEV: Remove use of run-loop-and-computed-dot-access (#57)
Context: https://deprecations.emberjs.com/v3.x/#toc_deprecated-run-loop-and-computed-dot-access
This commit is contained in:
parent
12b361f7b1
commit
3f06516cf6
|
@ -1,8 +1,8 @@
|
|||
import Component from "@ember/component";
|
||||
import { computed } from "@ember/object";
|
||||
import { gt } from "@ember/object/computed";
|
||||
|
||||
export default Component.extend({
|
||||
tagName: "",
|
||||
|
||||
showCount: computed.gt("count", 0),
|
||||
showCount: gt("count", 0),
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue