Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +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"),
|
|
});
|