Skip to content

[RFR] Disable the Export button when there is nothing to export - #2595

Merged
fzaninotto merged 3 commits into
nextfrom
disable-export-no-data
Dec 5, 2018
Merged

fzaninotto merged 3 commits into
nextfrom
disable-export-no-data

Conversation

@Luwangel

@Luwangel Luwangel commented Nov 30, 2018 •

Copy link
Copy Markdown
Contributor

Related to this issue #2483

Todo

  • Check the total and disable the export button when the total is 0
  • Write doc

selection_137

@fzaninotto

Copy link
Copy Markdown
Member

Nice! Don't forget to add the total propType defineition. Also, please PR against next as this is a new feature.

@Luwangel
Luwangel changed the base branch from master to next November 30, 2018 13:55
@Luwangel Luwangel changed the title [WIP] Disable the Export button when there is nothing to export [RFR] Disable the Export button when there is nothing to export Nov 30, 2018

@djhi djhi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Luwangel
Luwangel force-pushed the disable-export-no-data branch from b15cfdb to 3419db6 Compare December 4, 2018 13:07
@fzaninotto
fzaninotto merged commit 1618935 into next Dec 5, 2018
@fzaninotto

Copy link
Copy Markdown
Member

Thanks!

@fzaninotto
fzaninotto deleted the disable-export-no-data branch December 5, 2018 18:41
@fzaninotto fzaninotto added this to the 2.6.0 milestone Dec 5, 2018
@fzaninotto

Copy link
Copy Markdown
Member

@Luwangel You change triggers a warning on Mobile in the simple example (because the Export button is minimized, and uses a tooltip). Would you mind taking a look?

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.

3 participants