Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

collection context overriding component context on component view #41

Closed
samuelbirch opened this issue Jan 7, 2020 · 5 comments · Fixed by #44
Closed

collection context overriding component context on component view #41

samuelbirch opened this issue Jan 7, 2020 · 5 comments · Fixed by #44
Labels

Comments

@samuelbirch
Copy link
Contributor

so... I have a component that has its context defined in its config file. When viewing the component it shows as expected.

i've now created a collection page and used the "render" tag to show this component, working as expected.

I've now used "with" on the render tag to override some of the context on this collection page, and this works as expected, now my issue is that when i go back a view the component page it is now showing the context from the collection page, not what is defined in the component config context.

@mihkeleidast
Copy link
Member

This is probably a bug, but could you provide us with an example repository where we could better reproduce the issue?

@samuelbirch
Copy link
Contributor Author

sure, i'll get one setup

@samuelbirch
Copy link
Contributor Author

i've created a repo here: https://github.com/samuelbirch/frctl-test

once running if you go to modules/heading first then go to Pages/gallerys, then back to modules/heading

@mihkeleidast
Copy link
Member

can you test #44?

@samuelbirch
Copy link
Contributor Author

yes that works :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants