0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2025-02-18 10:27:01 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-custom-action.js.es6

9 Zeilen
398 B
Text

2017-09-23 10:34:07 +08:00
export default Ember.Component.extend({
2017-10-06 10:59:02 +08:00
classNames: 'wizard-custom-action',
2017-10-05 08:36:46 +08:00
types: ['create_topic', 'update_profile', 'send_message'],
profileFields: ['name', 'username', 'email'],
createTopic: Ember.computed.equal('action.type', 'create_topic'),
updateProfile: Ember.computed.equal('action.type', 'update_profile'),
2017-10-06 10:59:02 +08:00
sendMessage: Ember.computed.equal('action.type', 'send_message')
2017-09-23 10:34:07 +08:00
});