mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-02 20:53:55 +00:00
Merge pull request #315 from status-im/fix/disable-update-button
Disable UPDATE button if address string is empty
This commit is contained in:
commit
f9a597d5f8
@ -65,6 +65,7 @@
|
|||||||
(merge {:on-click
|
(merge {:on-click
|
||||||
#(rf/dispatch [:save-user-fields {:address @address
|
#(rf/dispatch [:save-user-fields {:address @address
|
||||||
:is_hidden_in_hunters @hidden}])
|
:is_hidden_in_hunters @hidden}])
|
||||||
|
:disabled (str/blank? @address)
|
||||||
:class (str "ui button small update-address-button"
|
:class (str "ui button small update-address-button"
|
||||||
(when @updating-user
|
(when @updating-user
|
||||||
" busy loading"))})
|
" busy loading"))})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user