🐛 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

@ -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
[]

View file

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