mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix lint errors.
This commit is contained in:
parent
28a01862d0
commit
3a7ae7c5f2
5 changed files with 13 additions and 13 deletions
|
|
@ -7,7 +7,7 @@ const i18nTagToT9n = (i18nTag) => {
|
|||
};
|
||||
|
||||
const validator = {
|
||||
set: function(obj, prop, value) {
|
||||
set(obj, prop, value) {
|
||||
if (prop === 'state' && value !== 'signIn') {
|
||||
$('.at-form-authentication').hide();
|
||||
} else if (prop === 'state' && value === 'signIn') {
|
||||
|
|
@ -17,7 +17,7 @@ const validator = {
|
|||
obj[prop] = value;
|
||||
// Indicate success
|
||||
return true;
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Template.userFormsLayout.onRendered(() => {
|
||||
|
|
@ -82,7 +82,7 @@ Template.userFormsLayout.events({
|
|||
});
|
||||
},
|
||||
'click #at-btn'(event) {
|
||||
/* All authentication method can be managed/called here.
|
||||
/* All authentication method can be managed/called here.
|
||||
!! DON'T FORGET to correctly fill the fields of the user during its creation if necessary authenticationMethod : String !!
|
||||
*/
|
||||
const authenticationMethodSelected = $('.select-authentication').val();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue