Skip to content
Snippets Groups Projects
Commit 32d1af20 authored by jensilo's avatar jensilo
Browse files

released too early

parent 7d6df66e
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ func registerNavigation(appCtx *hctx.AppCtx, webCtx *web.Ctx) {
Display: func(io web.IO) (bool, error) {
locale, err := io.Request().Cookie(trans.LocaleSessionKey)
if err != nil {
return false, err
return false, nil
}
return locale.Value != "de", nil
......@@ -103,7 +103,7 @@ func registerNavigation(appCtx *hctx.AppCtx, webCtx *web.Ctx) {
Display: func(io web.IO) (bool, error) {
locale, err := io.Request().Cookie(trans.LocaleSessionKey)
if err != nil {
return true, err
return true, nil
}
return locale.Value != "en", nil
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment