about summary refs log tree commit diff
path: root/client/src/Manager.elm
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/Manager.elm')
-rw-r--r--client/src/Manager.elm11
1 files changed, 2 insertions, 9 deletions
diff --git a/client/src/Manager.elm b/client/src/Manager.elm
index b7f36cfd46bb..7cf5dc3107c3 100644
--- a/client/src/Manager.elm
+++ b/client/src/Manager.elm
@@ -1,6 +1,7 @@
 module Manager exposing (render)
 
 import Array
+import Common
 import Html exposing (..)
 import Html.Attributes exposing (..)
 import Html.Events exposing (..)
@@ -33,14 +34,6 @@ render model =
                         { label = "Logout"
                         , handleClick = State.AttemptLogout
                         }
-                    , case model.logoutError of
-                        Nothing ->
-                            text ""
-
-                        Just e ->
-                            UI.errorBanner
-                                { title = "Error logging out"
-                                , body = Utils.explainHttpError e
-                                }
+                    , Common.allErrors model
                     ]
                 ]