1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/components/wizard-custom-input-pair.js.es6

9 Zeilen
336 B
Text

2020-03-21 18:30:11 +01:00
import { connectors } from '../lib/custom-wizard';
import { gt } from "@ember/object/computed";
export default Ember.Component.extend({
classNames: 'pair',
connectorNone: 'admin.wizard.connector.none',
connectors: connectors.map(c => ({ id: c, name: I18n.t(`admin.wizard.connector.${c}`) })),
showRemove: gt('pair.index', 0)
})