1
0
Fork 0

Selector active type fixes

Dieser Commit ist enthalten in:
Angus McLeod 2020-04-23 12:28:31 +10:00
Ursprung 428cccd643
Commit 082be35199

Datei anzeigen

@ -37,7 +37,7 @@ export default Component.extend({
showTypes: false, showTypes: false,
didInsertElement() { didInsertElement() {
if (this.activeType && !this[`${this.activeType}Enabled`]) { if (!this.activeType || (this.activeType && !this[`${this.activeType}Enabled`])) {
later(() => this.resetActiveType()); later(() => this.resetActiveType());
} }
@ -69,7 +69,7 @@ export default Component.extend({
}, },
typeLabel(type) { typeLabel(type) {
return I18n.t(`admin.wizard.selector.label.${snakeCase(type)}`) return type ? I18n.t(`admin.wizard.selector.label.${snakeCase(type)}`) : null;
}, },
@observes('inputType') @observes('inputType')