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

Fix for showing dupe for account and objects #582

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Fix for showing dupe for account and objects #582

merged 1 commit into from
Aug 18, 2023

Conversation

kent-white
Copy link
Collaborator

@kent-white kent-white commented Aug 9, 2023

Whenever querying a account address we would show account and object in the search prefill.

This PR changes the logic so we only so the object result when the account has an object core resource

NOTE: The assumption that Account's can't have ObjectCore is incorrect. But this should fix the dupe results for most cases.

Screen.Recording.2023-08-09.at.1.51.14.PM.mov

@kent-white kent-white self-assigned this Aug 9, 2023
@netlify
Copy link

netlify bot commented Aug 9, 2023

Deploy Preview for aptos-explorer ready!

Name Link
🔨 Latest commit fd9591a
🔍 Latest deploy log https://app.netlify.com/sites/aptos-explorer/deploys/64d3fe534f140400087631f1
😎 Deploy Preview https://deploy-preview-582--aptos-explorer.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kent-white kent-white requested a review from kaw2k August 15, 2023 22:41
@kent-white kent-white merged commit d8cfcd6 into main Aug 18, 2023
8 checks passed
@kent-white kent-white deleted the object-fix branch August 18, 2023 22:20
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