remove old button styling that is no longer applicable in a dropdown
This commit is contained in:
parent
460d7bb4f7
commit
9d76abec7c
|
@ -245,12 +245,10 @@
|
||||||
"Copy to Owned Collection"]
|
"Copy to Owned Collection"]
|
||||||
(if (auth/auth-required?)
|
(if (auth/auth-required?)
|
||||||
[bs/MenuItem
|
[bs/MenuItem
|
||||||
{:bsStyle "warning"
|
{:on-click #(change-list-visibility! list-id (not (:is_public @list)))}
|
||||||
:on-click #(change-list-visibility! list-id (not (:is_public @list)))}
|
|
||||||
(if (:is_public @list) "Make Private" "Make Public")])
|
(if (:is_public @list) "Make Private" "Make Public")])
|
||||||
[bs/MenuItem
|
[bs/MenuItem
|
||||||
{:bsStyle "danger"
|
{:on-click #(reset! show-delete-confirm? true)}
|
||||||
:on-click #(reset! show-delete-confirm? true)}
|
|
||||||
"Delete"]]])]
|
"Delete"]]])]
|
||||||
[bs/PageHeader (:name @list)
|
[bs/PageHeader (:name @list)
|
||||||
(if (auth/can-modify-data?)
|
(if (auth/can-modify-data?)
|
||||||
|
|
Loading…
Reference in a new issue