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

docs: update slots example for the content-query component #2190

Merged
merged 1 commit into from Jul 24, 2023

Conversation

Barbapapazes
Copy link
Contributor

@Barbapapazes Barbapapazes commented Jul 22, 2023

πŸ”— Linked issue

fix #2173

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Without find="one", the query return an array. So the condition, https://github.com/nuxt/content/blob/main/src/runtime/components/ContentRenderer.vue#L73, can not be true in the ContentRenderer component. I update the example to easily copy-paste code.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@nuxt-studio
Copy link

nuxt-studio bot commented Jul 22, 2023

βœ… Live Preview ready!

Name Edit Preview Latest Commit
Content Edit on Studio β†—οΈŽ View Live Preview c78818a

@netlify
Copy link

netlify bot commented Jul 22, 2023

βœ… Deploy Preview for nuxt-content ready!

Built without sensitive environment variables

Name Link
πŸ”¨ Latest commit c78818a
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/64bbbbec3468cb0008ef0ef2
😎 Deploy Preview https://deploy-preview-2190--nuxt-content.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nuxt-studio
Copy link

nuxt-studio bot commented Jul 22, 2023

βœ… Live Preview ready!

Name Edit Preview Latest Commit
content Edit on Studio β†—οΈŽ View Live Preview c78818a

@farnabaz farnabaz merged commit a6c549e into nuxt:main Jul 24, 2023
7 checks passed
@farnabaz farnabaz mentioned this pull request Jul 25, 2023
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.

<ContentQuery> example not working
2 participants