DEV: Fix `ember/no-incorrect-computed-macros` lint (#29107)

This commit is contained in:
Jarek Radosz 2024-10-08 01:26:07 +09:00 committed by GitHub
parent 84d260613a
commit d6961c9a35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { or } from "@ember/object/computed";
import { readOnly } from "@ember/object/computed";
import { classNames } from "@ember-decorators/component";
import I18n from "discourse-i18n";
import NotificationOptionsComponent from "select-kit/components/notifications-button";
@ -12,5 +12,5 @@ import { pluginApiIdentifiers, selectKitOptions } from "./select-kit";
@pluginApiIdentifiers(["category-notifications-button"])
@classNames("category-notifications-button")
export default class CategoryNotificationsButton extends NotificationOptionsComponent {
@or("category.deleted") isHidden;
@readOnly("category.deleted") isHidden;
}