Merge pull request '2859 - Force translation for SMS' (#599) from 2859-sms_remove_hours into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #599
Reviewed-by: Carlos Jimenez Ruiz <carlosjr@verdnatura.es>
This commit is contained in:
Carlos Jimenez Ruiz 2021-04-08 11:53:02 +00:00
commit 68fa14ca51
2 changed files with 2 additions and 5 deletions

View File

@ -83,9 +83,6 @@ export default class Field extends FormInput {
this._required = value;
let required = this.element.querySelector('.required');
display(required, this._required);
this.$.$applyAsync(() =>
this.input.setAttribute('required', value));
}
get required() {

View File

@ -165,13 +165,13 @@ class Controller extends Section {
created: this.ticket.updated
};
this.showSMSDialog({
message: this.$params.message || this.$t('Minimum is needed', params)
message: this.$t('Minimum is needed', params)
});
}
sendPaymentSms() {
this.showSMSDialog({
message: this.$params.message || this.$t('Make a payment')
message: this.$t('Make a payment')
});
}