Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

$current{id} is undefined #5

Closed
Enigmatrix opened this issue Jun 12, 2019 · 1 comment
Closed

$current{id} is undefined #5

Enigmatrix opened this issue Jun 12, 2019 · 1 comment

Comments

@Enigmatrix
Copy link
Contributor

The autogenerated $current{id} property, used to get the current item from the frontmatter classifier, is undefined.

Seems like it was generated by getting this.$route.meta.pid (which is usually the id of the frontmatter classifier), instead of this.$route.meta.pid (which is the name of the key itself, which is expected)

@Enigmatrix
Copy link
Contributor Author

Can be fixed via #6

@ulivz ulivz closed this as completed Jun 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants