Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-24 10:20:28 +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"),
|
|
});
|