on master help sign in
Added back button
305ea93iko
frontend/Main.elm+2−2
@@ -11,7 +11,7 @@ import Pages.Ciphers as Ciphers
11import Pages.Loader exposing (loader)
11import Pages.Loader exposing (loader)
12import Pages.Login as Login
12import Pages.Login as Login
13import Pages.MasterPassword as MasterPassword
13import Pages.MasterPassword as MasterPassword
14−import Pages.Navigation as Navigation
14+import Pages.Navigation as Navigation exposing (TopButton(..))
15import Utils exposing (..)
15import Utils exposing (..)
16
16
17
17
@@ -115,7 +115,7 @@ showPage page =
115 in
115 in
116 { title = p.title model
116 { title = p.title model
117 , body = p.view model
117 , body = p.view model
118− , topButton = Nothing
118+ , topButton = Just (BackButton PopView)
119 }
119 }
120
120
121
121