1
0
Fork 0

Minor custom field fixes

Dieser Commit ist enthalten in:
Angus McLeod 2020-11-10 12:03:33 +11:00
Ursprung b383538a6b
Commit f2ef53cff7
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -106,13 +106,13 @@ export default Component.extend({
}
this.saveField(data).then((result) => {
this.set('saving', false);
if (result.success) {
this.set('saveIcon', 'check');
this.set('field.edit', false);
} else {
this.set('saveIcon', 'times');
}
setTimeout(() => this.set('saveIcon', null), 10000);
this.set('saving', false);
});
}
}

Datei anzeigen

@ -15,7 +15,7 @@ en:
unsupported_type: "%{type} is not a supported custom field type"
name_invalid: "'%{name}' is not a valid custom field name"
name_too_short: "'%{name}' is too short for a custom field name (min length is #{min_length})"
name_already_taken: "'%{value}' is already taken as a custom field name"
name_already_taken: "'%{name}' is already taken as a custom field name"
save_default: "Failed to save custom field '%{name}'"
field: