Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 05:52:52 +01:00
9 Zeilen
391 B
JavaScript
9 Zeilen
391 B
JavaScript
import Controller from "@ember/controller";
|
|
import { equal, or } from "@ember/object/computed";
|
|
|
|
export default Controller.extend({
|
|
businessSubscription: equal("subscriptionType", "business"),
|
|
communitySubscription: equal("subscriptionType", "community"),
|
|
standardSubscription: equal("subscriptionType", "standard"),
|
|
showApi: or("businessSubscription", "communitySubscription"),
|
|
});
|