"In the Directory Notes, applying a filter changes the Clear button's state and color."
This commit is contained in:
parent
48d1592b8c
commit
da69ae6fec
@ -349,11 +349,11 @@ const DirectoryPageHeader = ({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Buttons */}
|
{/* Buttons */}
|
||||||
<div className="d-flex justify-content-between mt-3">
|
<div className="d-flex justify-content-end gap-2 mt-1">
|
||||||
<button
|
<button
|
||||||
className="btn btn-sm btn-outline-danger"
|
className="btn btn-xs btn-secondary"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
// e.stopPropagation();
|
||||||
setSelectedCreators([]);
|
setSelectedCreators([]);
|
||||||
setSelectedOrgs([]);
|
setSelectedOrgs([]);
|
||||||
setFilteredOrganizations(allOrganizations);
|
setFilteredOrganizations(allOrganizations);
|
||||||
@ -363,7 +363,7 @@ const DirectoryPageHeader = ({
|
|||||||
Clear
|
Clear
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className="btn btn-sm btn-primary"
|
className="btn btn-xs btn-primary"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
applyCombinedFilter();
|
applyCombinedFilter();
|
||||||
}}
|
}}
|
||||||
@ -462,7 +462,7 @@ const DirectoryPageHeader = ({
|
|||||||
<button
|
<button
|
||||||
className="btn btn-xs btn-secondary"
|
className="btn btn-xs btn-secondary"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
// e.stopPropagation();
|
||||||
clearFilter();
|
clearFilter();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user