mirror of
https://github.com/penpot/penpot.git
synced 2026-02-28 23:34:26 +00:00
🐛 Fix label visualization on team leave modal.
This commit is contained in:
committed by
Alonso Torres
parent
f83c8d4523
commit
20ecc79cd1
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user