Fix pass change dialog
This commit is contained in:
parent
29649469d3
commit
806bcc036d
2
js/dist/bundle.js
vendored
2
js/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
2
js/dist/bundle.js.map
vendored
2
js/dist/bundle.js.map
vendored
File diff suppressed because one or more lines are too long
@ -59,13 +59,15 @@ export default class UserDialogModel extends ViewModel {
|
||||
this.dialog.show();
|
||||
this.bindAll(this.dialog.element);
|
||||
const passInput = this.getBoundElement('passInput');
|
||||
this.onChanged('passVisibility', () => {
|
||||
if (passInput.style.display === 'none') {
|
||||
passInput.style.display = 'block';
|
||||
} else {
|
||||
passInput.style.display = 'none';
|
||||
}
|
||||
});
|
||||
if (passInput) {
|
||||
this.onChanged('passVisibility', () => {
|
||||
if (passInput.style.display === 'none') {
|
||||
passInput.style.display = 'block';
|
||||
} else {
|
||||
passInput.style.display = 'none';
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
onUserDelete() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user