diff --git a/CHANGES.md b/CHANGES.md index dcd5932cc..d7638e172 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -27,6 +27,8 @@ ### :bug: Bugs fixed +- Fix problem with go back button on error page [Taiga #8887](https://tree.taiga.io/project/penpot/issue/8887) + ## 2.2.1 ### :bug: Bugs fixed diff --git a/frontend/src/app/main/ui/static.cljs b/frontend/src/app/main/ui/static.cljs index 404e3f29b..fcc17b55d 100644 --- a/frontend/src/app/main/ui/static.cljs +++ b/frontend/src/app/main/ui/static.cljs @@ -42,11 +42,10 @@ [:section {:class (stl/css :exception-layout)} [:button {:class (stl/css :exception-header) - :on-click rt/nav-root} + :on-click on-nav-root} i/logo-icon (when profile-id - (str "< " - (tr "not-found.no-permission.go-dashboard")))] + (str "< " (tr "not-found.no-permission.go-dashboard")))] [:div {:class (stl/css :deco-before)} i/logo-error-screen] (when-not profile-id [:button {:class (stl/css :login-header)