mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix label visualization on team leave modal.
This commit is contained in:
parent
f83c8d4523
commit
20ecc79cd1
2 changed files with 1 additions and 3 deletions
|
@ -33,12 +33,10 @@
|
|||
(s/def ::created-at ::us/inst)
|
||||
(s/def ::modified-at ::us/inst)
|
||||
(s/def ::is-pinned ::us/boolean)
|
||||
(s/def ::photo ::us/string)
|
||||
|
||||
(s/def ::team
|
||||
(s/keys :req-un [::id
|
||||
::name
|
||||
::photo
|
||||
::created-at
|
||||
::modified-at]))
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@
|
|||
[{:keys [members profile team accept]}]
|
||||
(let [form (fm/use-form :spec ::leave-modal-form :initial {})
|
||||
options (into [{:value "" :label (tr "modals.leave-and-reassign.select-memeber-to-promote")}]
|
||||
(map #(hash-map :name (:name %) :value (str (:id %))) members))
|
||||
(map #(hash-map :label (:name %) :value (str (:id %))) members))
|
||||
|
||||
on-cancel
|
||||
(mf/use-callback (st/emitf (modal/hide)))
|
||||
|
|
Loading…
Reference in a new issue