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 translations setting primary key and request spamming #17778

Merged
merged 2 commits into from Mar 17, 2023
Merged

Conversation

Nitwel
Copy link
Member

@Nitwel Nitwel commented Mar 13, 2023

Description

This PR solves 2 Problems. The first being that the primary key gets inserted, even when creating a new item. The second bein that we would reload all selected preview data even though the selected items didn't actually change.

Fixes #17762

@Nitwel Nitwel requested a review from a team March 13, 2023 17:34
@Nitwel Nitwel self-assigned this Mar 13, 2023
@Nitwel Nitwel requested review from paescuj, rijkvanzanten and jaads and removed request for a team March 13, 2023 17:34
Copy link
Member

@paescuj paescuj left a comment

Choose a reason for hiding this comment

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

Nice work 👍

@Nitwel Nitwel requested a review from jaads March 16, 2023 12:37
Copy link
Member

@jaads jaads left a comment

Choose a reason for hiding this comment

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

code looks good and fixes the issue 👍

@jaads jaads merged commit d5ee27e into main Mar 17, 2023
4 checks passed
@jaads jaads deleted the fix-17762 branch March 17, 2023 09:03
@licitdev licitdev added this to the Next Release milestone Mar 17, 2023
meditadvisors pushed a commit to ciso360ai/directus-mod that referenced this pull request May 13, 2023
…7778)

* Fix translations setting primary key and request spamming

* add return type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translations Interface: Permissions error (parent-id m2o interface)
4 participants