fix(login): forward token submit
This commit is contained in:
parent
391f3b974c
commit
84c6615956
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ func (m *Model) Update(msg tview.Msg) tview.Cmd {
|
|||
return m.showErrorDialog(msg.err)
|
||||
case tview.FormSubmitMsg:
|
||||
if !m.HasLayer(errorLayerName) {
|
||||
return nil
|
||||
break
|
||||
}
|
||||
if msg.ButtonIndex == 0 {
|
||||
return setClipboard(m.errorDialogText)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue