diff --git a/CHANGES.md b/CHANGES.md index 066ac40127..28b1c6b990 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # CHANGELOG +## 2.6.1 + +### :bug: Bugs fixed + +- Fix webhooks not shown in list [Taiga #10763](https://tree.taiga.io/project/penpot/issue/10763) + ## 2.6.0 ### :rocket: Epics and highlights diff --git a/frontend/src/app/main/data/team.cljs b/frontend/src/app/main/data/team.cljs index ce96d45b25..e98dddca3a 100644 --- a/frontend/src/app/main/data/team.cljs +++ b/frontend/src/app/main/data/team.cljs @@ -199,7 +199,7 @@ (ptk/reify ::webhooks-fetched ptk/UpdateEvent (update [_ state] - (update-in state [:team-id team-id] assoc :webhooks webhooks)))) + (update-in state [:teams team-id] assoc :webhooks webhooks)))) (defn fetch-webhooks [] diff --git a/frontend/src/app/main/ui/dashboard/team.cljs b/frontend/src/app/main/ui/dashboard/team.cljs index 3daefc5d74..595ec985a6 100644 --- a/frontend/src/app/main/ui/dashboard/team.cljs +++ b/frontend/src/app/main/ui/dashboard/team.cljs @@ -1045,7 +1045,7 @@ (tr "dashboard.your-penpot") (:name team))))) - (mf/with-effect [team] + (mf/with-effect [] (st/emit! (dtm/fetch-webhooks))) [:*