Skip to content

Commit

Permalink
fix #7254 - config sync replace ngModelChange by key down enter
Browse files Browse the repository at this point in the history
  • Loading branch information
Clem-Fern authored and Eugeny committed Jan 23, 2023
1 parent b624218 commit 8bf5065
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
input.form-control(
type='text',
[(ngModel)]='config.store.configSync.host',
(ngModelChange)='config.save()',
(keydown.enter)='config.save()',
)
.input-group-append(*ngIf='config.store.configSync.host')
button.btn.btn-secondary((click)='openSyncHost()')
Expand All @@ -27,7 +27,7 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
input.form-control(
type='password',
[(ngModel)]='config.store.configSync.token',
(ngModelChange)='config.save(); testConnection()'
(keydown.enter)='config.save(); testConnection()'
)
.input-group-append(*ngIf='config.store.configSync.token')
.input-group-text
Expand Down

0 comments on commit 8bf5065

Please sign in to comment.