From fcd232aa35c455a3b7ed2efa838074a66568f960 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Mon, 7 Oct 2024 17:44:15 +0200 Subject: [PATCH] :bug: Fix problem with go back button on error page --- CHANGES.md | 2 ++ frontend/src/app/main/ui/static.cljs | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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)