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

Ensure Ownerships table don't crash on missing creator prop (cf. pending table) #963

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

Anahkiasen
Copy link
Contributor

Fixed

  • Ensure Ownerships table don't crash on missing creator prop (cf. pending table)

Spotted as part of https://jira.publiq.be/browse/III-6146 but unrelated to the described problem (besides that the page crashes on this also)


I just don't understand why Typescript doesn't flag creator as nullable here even though the prop explicitely states that it is a few lines above 🤔 This should have been caught by the static analysis normally

Screenshot 2024-12-11 at 17 24 06

@LucWollants LucWollants merged commit 5a45152 into main Dec 11, 2024
5 checks passed
@LucWollants LucWollants deleted the bugfix/III-6146-creator-crash branch December 11, 2024 17:15
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