Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Support multiple selection for filter status (manage all experiments page) #3351

Merged
merged 7 commits into from
Feb 3, 2021

Conversation

Lijiaoa
Copy link
Contributor

@Lijiaoa Lijiaoa commented Jan 29, 2021

image

@J-shang J-shang mentioned this pull request Jan 29, 2021
94 tasks
}
data = data.filter(
item =>
(selectedStartDate !== undefined ? compareDate(new Date(item.startTime), selectedStartDate) : true) &&
Copy link
Contributor

@liuzhe-lz liuzhe-lz Feb 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(selectedStartDate === undefined || compareDate(...)) looks more straightforward to me (same below)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed.

@J-shang J-shang merged commit 7d6b8b3 into microsoft:master Feb 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants