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

Don't hide topbar trash button when user has some tokens in trash and some not. #2522

Merged
merged 1 commit into from Sep 9, 2016

Conversation

dwrensha
Copy link
Collaborator

@dwrensha dwrensha commented Sep 9, 2016

Fixes a bug where sometimes the trash button does not show up in the topbar. The problem is that we are checking whether the user has the grain in the trash while what we should really be checking is whether the user has any non-trashed references to the grain.

Also adds a test that fails before and passes after the fix.

@paulproteus
Copy link
Collaborator

The :hooray: is for the test!

@dwrensha
Copy link
Collaborator Author

dwrensha commented Sep 9, 2016

unrelated ECONNREFUSED error in TestIpInterface

@dwrensha
Copy link
Collaborator Author

dwrensha commented Sep 9, 2016

Garply, retest this please

@kentonv kentonv merged commit 5a4bf56 into sandstorm-io:master Sep 9, 2016
@dwrensha dwrensha deleted the trash-button branch September 10, 2016 00:36
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.

None yet

3 participants