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

Show object versions on UI only when bucket has versioning enabled #637

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

cesnietor
Copy link
Collaborator

@cesnietor cesnietor commented Mar 9, 2021

fixes #594
If bucket doesn't have versioning enabled, objects shouldn't show component that lists versions.

Screen Shot 2021-03-09 at 2 43 02 PM

Screen Shot 2021-03-09 at 2 45 35 PM

To test:
Create a bucket without versioning, add an object and on the object details the list shouldn't appear.
Create a bucket with versioning, add an object and on the object details the list should appear.

@cesnietor cesnietor self-assigned this Mar 9, 2021
dvaldivia
dvaldivia previously approved these changes Mar 9, 2021
Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

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

I can't access Buckets Browser because of an issue with match var from route (issue is in master), If I go to the bucket path this PR works as expected. Will fix the other issue in another ticket

@cesnietor
Copy link
Collaborator Author

I can't access Buckets Browser because of an issue with match var from route (issue is in master), If I go to the bucket path this PR works as expected. Will fix the other issue in another ticket

got it thanks.

@cesnietor cesnietor merged commit e7263c9 into minio:master Mar 10, 2021
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.

UI hide version box on non versioned buckets
3 participants