diff --git a/frontend/src/app/main/data/dashboard.cljs b/frontend/src/app/main/data/dashboard.cljs index 475e2a74b..e6a307cc6 100644 --- a/frontend/src/app/main/data/dashboard.cljs +++ b/frontend/src/app/main/data/dashboard.cljs @@ -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])) diff --git a/frontend/src/app/main/ui/dashboard/sidebar.cljs b/frontend/src/app/main/ui/dashboard/sidebar.cljs index 4d83b3a10..a1d771ab0 100644 --- a/frontend/src/app/main/ui/dashboard/sidebar.cljs +++ b/frontend/src/app/main/ui/dashboard/sidebar.cljs @@ -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)))