mirror of
https://github.com/penpot/penpot.git
synced 2026-09-06 20:18:39 +00:00
🐛 Bad request error after reloading invitations page
This commit is contained in:
parent
8f867c03de
commit
d30707a02c
@ -692,8 +692,11 @@
|
|||||||
[:& header {:section :dashboard-team-invitations
|
[:& header {:section :dashboard-team-invitations
|
||||||
:team team}]
|
:team team}]
|
||||||
[:section {:class (stl/css :dashboard-container :dashboard-team-invitations)}
|
[:section {:class (stl/css :dashboard-container :dashboard-team-invitations)}
|
||||||
[:& invitation-section {:team team
|
;; TODO: We should consider adding a "loading state" here
|
||||||
:invitations invitations}]]]))
|
;; with an (if (nil? invitations) [:& loading-state] [:& invitations])
|
||||||
|
(when-not (nil? invitations)
|
||||||
|
[:& invitation-section {:team team
|
||||||
|
:invitations invitations}])]]))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; WEBHOOKS SECTION
|
;; WEBHOOKS SECTION
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user