diff --git a/src/elm/Layouts/Default/Org.elm b/src/elm/Layouts/Default/Org.elm index c7e8df1a3..48afee8f0 100644 --- a/src/elm/Layouts/Default/Org.elm +++ b/src/elm/Layouts/Default/Org.elm @@ -20,6 +20,7 @@ import Route exposing (Route) import Route.Path import Shared import Url exposing (Url) +import Utils.Favicons as Favicons import Utils.Helpers as Util import View exposing (View) @@ -69,7 +70,10 @@ init : Shared.Model -> Route () -> () -> ( Model, Effect Msg ) init shared route _ = ( { tabHistory = Dict.empty } - , Effect.getCurrentUser {} + , Effect.batch + [ Effect.updateFavicon { favicon = Favicons.defaultFavicon } + , Effect.getCurrentUser {} + ] ) diff --git a/src/elm/Layouts/Default/Repo.elm b/src/elm/Layouts/Default/Repo.elm index 3c466519f..c7cdd6f18 100644 --- a/src/elm/Layouts/Default/Repo.elm +++ b/src/elm/Layouts/Default/Repo.elm @@ -22,6 +22,7 @@ import Route.Path import Shared import Time import Url exposing (Url) +import Utils.Favicons as Favicons import Utils.Favorites as Favorites import Utils.Interval as Interval import View exposing (View) @@ -75,7 +76,8 @@ init props shared route _ = ( { tabHistory = Dict.empty } , Effect.batch - [ Effect.getCurrentUser {} + [ Effect.updateFavicon { favicon = Favicons.defaultFavicon } + , Effect.getCurrentUser {} , Effect.getRepoBuildsShared { pageNumber = Nothing , perPage = Nothing