Merge pull request #315 from status-im/fix/disable-update-button

Disable UPDATE button if address string is empty
This commit is contained in:
Vitaliy Vlasov 2018-02-21 12:38:30 +02:00 committed by GitHub
commit f9a597d5f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,7 @@
(merge {:on-click
#(rf/dispatch [:save-user-fields {:address @address
:is_hidden_in_hunters @hidden}])
:disabled (str/blank? @address)
:class (str "ui button small update-address-button"
(when @updating-user
" busy loading"))})