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: Fixed an issue where URL sharing in TableDetail sometimes did not work correctly #276

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

MH4GF
Copy link
Member

@MH4GF MH4GF commented Dec 16, 2024

The feature to open TableDetail when opened with a URL with a query parameter did not work in some cases, which will be corrected.

https://liam-erd-sample-pzarkcxaz-route-06-core.vercel.app/?active=featured_tags

Comment on lines +5 to +6
export const useUserEditingActiveStore = () =>
useSnapshot(userEditingStore.active)
Copy link
Member Author

Choose a reason for hiding this comment

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

If this was not done, there was a problem with it not re-rendering. 🤔

} = useUserEditingStore()
const { tableName } = useUserEditingActiveStore()
const { tables } = useDBStructureStore()
const open = Object.keys(tables).length > 0 && tableName !== undefined
Copy link
Member Author

@MH4GF MH4GF Dec 16, 2024

Choose a reason for hiding this comment

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

Had to wait if loading was complete from schema.json.

@MH4GF MH4GF marked this pull request as ready for review December 16, 2024 09:19
@MH4GF MH4GF requested a review from a team as a code owner December 16, 2024 09:19
@MH4GF MH4GF requested review from hoshinotsuyoshi, FunamaYukina, junkisai and sasamuku and removed request for a team December 16, 2024 09:19
Copy link
Member

@sasamuku sasamuku left a comment

Choose a reason for hiding this comment

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

Thanks for fixing🙌

@sasamuku sasamuku added this pull request to the merge queue Dec 16, 2024
Merged via the queue into main with commit c61a2bc Dec 16, 2024
12 checks passed
@sasamuku sasamuku deleted the fix-table-detail branch December 16, 2024 10:42
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.

2 participants