1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-06-18 11:13:39 +00:00

ui: Ignore submit of empty mailbox input

This commit is contained in:
James Hillyerd
2019-02-18 13:04:21 -08:00
parent cd89d77d9f
commit 18b85877ab
+4
View File
@@ -81,6 +81,10 @@ update msg model session =
)
OpenMailbox ->
if model.mailboxName == "" then
( model, session, Cmd.none )
else
( model
, session
, Route.pushUrl session.key (Route.Mailbox model.mailboxName)