Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-10 12:22:54 +01:00
8 Zeilen
398 B
JavaScript
8 Zeilen
398 B
JavaScript
export default Ember.Component.extend({
|
|
classNames: 'wizard-custom-action',
|
|
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'),
|
|
sendMessage: Ember.computed.equal('action.type', 'send_message')
|
|
});
|