Skip to content
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

feat(remove-compare): add remove compare data set button #193

Merged
merged 13 commits into from
Nov 13, 2019

Conversation

KatvonRivia
Copy link
Member

@KatvonRivia KatvonRivia commented Nov 12, 2019

closes #18

@KatvonRivia KatvonRivia changed the title feat(remove-compare): add remove compare-globe button feat(remove-compare): add remove compare data set button Nov 12, 2019
@@ -19,6 +21,7 @@ const DataSetInfo: FunctionComponent<Props> = ({isMain}) => {
<h2 className={styles.description}>
{isMain ? main && main.description : compare && compare.description}

Choose a reason for hiding this comment

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

To make the component easier to read you could do something like

const layer = isMain ? main : compare

and then use layer && layer.name and layer && layer.description in the return statement.

Choose a reason for hiding this comment

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

still the same 🤷‍♀

@KatvonRivia KatvonRivia changed the base branch from feat/data-set-info to develop November 12, 2019 13:44
@@ -19,6 +21,7 @@ const DataSetInfo: FunctionComponent<Props> = ({isMain}) => {
<h2 className={styles.description}>
{isMain ? main && main.description : compare && compare.description}

Choose a reason for hiding this comment

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

still the same 🤷‍♀

@KatvonRivia KatvonRivia merged commit 102ff78 into develop Nov 13, 2019
@KatvonRivia KatvonRivia deleted the feat/remove-compare branch November 13, 2019 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove dataset in compare view
2 participants