🐛 Fix webhooks not shown in list (#6254)

This commit is contained in:
Alejandro 2025-04-09 12:46:00 +02:00 committed by GitHub
parent 9f8d7c9e41
commit 965d2d4036
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,11 @@
# CHANGELOG # 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 ## 2.6.0
### :rocket: Epics and highlights ### :rocket: Epics and highlights

View file

@ -199,7 +199,7 @@
(ptk/reify ::webhooks-fetched (ptk/reify ::webhooks-fetched
ptk/UpdateEvent ptk/UpdateEvent
(update [_ state] (update [_ state]
(update-in state [:team-id team-id] assoc :webhooks webhooks)))) (update-in state [:teams team-id] assoc :webhooks webhooks))))
(defn fetch-webhooks (defn fetch-webhooks
[] []

View file

@ -1045,7 +1045,7 @@
(tr "dashboard.your-penpot") (tr "dashboard.your-penpot")
(:name team))))) (:name team)))))
(mf/with-effect [team] (mf/with-effect []
(st/emit! (dtm/fetch-webhooks))) (st/emit! (dtm/fetch-webhooks)))
[:* [:*