`<a-point>` displays "undefined" for bottom legend
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
#2563
Tell us about your environment
Windows 10
MarkBind version
6.0.0
Describe the bug and the steps to reproduce it
When visiting the MarkBind user guide, there seems to be an issue with the bottom legend for <a-point>.
For some reason, it displays "undefined" rather than the actual content. Referring to the discussion within issue #2563, it seems that the bottom legend should be the following:
Expected behavior
The bottom legend for <a-point> should properly display the correct content, rather than undefined. Again, it should display the content as discussed in #2563
Anything else?
No response
This is likely due to the migration to vue 3.
const labelText = labelSlotContent?.[0]?.children?.[0]?.text;
const labelHeader = headerSlotContent?.[0]?.children?.[0]?.text;
Updating these lines to this should work:
const labelText = labelSlotContent?.[0]?.children;
const labelHeader = headerSlotContent?.[0]?.children;
Thanks for catching thins. Needs to be fixed quickly.
Thanks @Incogdino for the PR #2700 to fix this issue, it's been successfully merged into the master branch.
We're now awaiting a release to deliver these fixes to users.