mirror of
https://github.com/penpot/penpot.git
synced 2025-07-15 18:35:23 +02:00
🐛 Fix webhooks not shown in list (#6254)
This commit is contained in:
parent
9f8d7c9e41
commit
965d2d4036
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
[]
|
[]
|
||||||
|
|
|
@ -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)))
|
||||||
|
|
||||||
[:*
|
[:*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue