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 missing NcVNodes import in NcListItem #3907

Merged
merged 1 commit into from Mar 21, 2023

Conversation

julien-nc
Copy link
Contributor

@raimund-schluessler When using NcListItem in https://github.com/julien-nc/integration_miro/blob/main/src/components/talk/SendModal.vue#L31-L49 we get this error:

image

This appeared with @nextcloud/vue 7.8.1.

If I'm right about the fix, this PR might need some more changes to deal with the undefined router-link in <component :is="to ? 'router-link' : 'NcVNodes'"

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc added bug Something isn't working 2. developing Work in progress feature: list-item Related to the list-item component labels Mar 20, 2023
@julien-nc julien-nc added this to the 7.8.2 milestone Mar 20, 2023
@julien-nc
Copy link
Contributor Author

@raimund-schluessler Thanks for the review. How about router-link? Should it be imported? If so, how?

@raimund-schluessler
Copy link
Contributor

This appeared with @nextcloud/vue 7.8.1.

You are right, I forgot to import it, and didn't notice it because in the docs all Nc* components are globally imported 🙈

If I'm right about the fix, this PR might need some more changes to deal with the undefined router-link in <component :is="to ? 'router-link' : 'NcVNodes'"

I don't think so. router-link is a built-in component from vue-router. I think it doesn't need to be imported individually.

@julien-nc julien-nc added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 20, 2023
@raimund-schluessler raimund-schluessler merged commit 1ed729f into master Mar 21, 2023
15 checks passed
@raimund-schluessler raimund-schluessler deleted the fix/noid/import-ncvnodes-in-nclistitem branch March 21, 2023 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: list-item Related to the list-item component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants