fix can't unpin message from popup (#13988)
This commit is contained in:
parent
aa0d9ba41f
commit
8205368e5c
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
(defn pin-limit-popover []
|
(defn pin-limit-popover []
|
||||||
(let [{:keys [message]} (<sub [:popover/popover])]
|
(let [{:keys [message]} (<sub [:popover/popover])]
|
||||||
[react/view
|
[react/view {:style {:flex-shrink 1}}
|
||||||
[react/view {:style {:height 60
|
[react/view {:style {:height 60
|
||||||
:justify-content :center}}
|
:justify-content :center}}
|
||||||
[react/text {:style {:padding-horizontal 40
|
[react/text {:style {:padding-horizontal 40
|
||||||
|
@ -85,4 +85,4 @@
|
||||||
:type :secondary
|
:type :secondary
|
||||||
:disabled (nil? @selected-unpin)
|
:disabled (nil? @selected-unpin)
|
||||||
:theme (if (nil? @selected-unpin) :disabled :negative)}
|
:theme (if (nil? @selected-unpin) :disabled :negative)}
|
||||||
(i18n/label :t/unpin)]]]))
|
(i18n/label :t/unpin)]]]))
|
||||||
|
|
Loading…
Reference in New Issue