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

refactor: improve DocumentTable types #223

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jennifer-richards
Copy link
Member

This is an attempt to clean up some type complaints in the DocumentTable. It clears up all the complaints I see in DocumentTable.vue itself. Unfortunately the actual places the component is used are either seeing an any type or are confused because the id field is shown as possibly undefined due to limitations in the Django API generation. I'm hoping to clear those up eventually.

Also fixes a minor bug in the labels column where the ID was being displayed beside each label.

Best to look at the diffs with whitespace changes suppressed because some reformatting got mixed in - sorry about that.

@jennifer-richards
Copy link
Member Author

Going to draft - no need to look at this now, I am not sure it was doing what I thought it was doing. Will come back to it.

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.

1 participant