0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🐛 Fix problem with go back button on error page

This commit is contained in:
alonso.torres 2024-10-07 17:44:15 +02:00
parent f194e2c1c6
commit fcd232aa35
2 changed files with 4 additions and 3 deletions

View file

@ -27,6 +27,8 @@
### :bug: Bugs fixed ### :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 ## 2.2.1
### :bug: Bugs fixed ### :bug: Bugs fixed

View file

@ -42,11 +42,10 @@
[:section {:class (stl/css :exception-layout)} [:section {:class (stl/css :exception-layout)}
[:button [:button
{:class (stl/css :exception-header) {:class (stl/css :exception-header)
:on-click rt/nav-root} :on-click on-nav-root}
i/logo-icon i/logo-icon
(when profile-id (when profile-id
(str "< " (str "< " (tr "not-found.no-permission.go-dashboard")))]
(tr "not-found.no-permission.go-dashboard")))]
[:div {:class (stl/css :deco-before)} i/logo-error-screen] [:div {:class (stl/css :deco-before)} i/logo-error-screen]
(when-not profile-id (when-not profile-id
[:button {:class (stl/css :login-header) [:button {:class (stl/css :login-header)