-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organization filter on bureau positions page #1263
Conversation
import ListItem from '../../BidderPortfolio/BidControls/BidCyclePicker/ListItem'; | ||
import { filtersFetchData } from '../../../actions/filters/filters'; | ||
import SelectForm from '../../SelectForm'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
<Flag | ||
name="flags.static_content" | ||
render={() => ( | ||
/* eslint-disable-next-line no-nested-ternary */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
<div className="filter-div"> | ||
<div className="label">Organization:</div> | ||
<Picky | ||
placeholder="Select Bureau(s)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
placeholder Select Organization(s)
if (!noBureausSelected || !noOrgsSelected) { | ||
props.fetchBureauPositions(query); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice job saving a call 🦜
@@ -386,7 +423,7 @@ const PositionManager = props => { | |||
<ExportButton | |||
onClick={exportPositions} | |||
isLoading={isLoading} | |||
disabled={noBureausSelected} | |||
disabled={noBureausSelected && noOrgsSelected} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit Picky: we hide all filters and Export Button when overlay triggered, so we don't really need to disable it, but unsure if this way is a better practice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah good point. Yeah, maybe we just keep this in case we decide to show them in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coolio!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍰 🍥 🍬 👍
post_user
vsbureau_user
StaticDevContent