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

_supportedLayout not working #1611

Closed
danielstorey opened this issue Apr 6, 2017 · 0 comments
Closed

_supportedLayout not working #1611

danielstorey opened this issue Apr 6, 2017 · 0 comments
Labels

Comments

@danielstorey
Copy link
Member

I was trying to restrict a new component to full width only and it wasn't working. I couldn't figure out why until I started to dig into the code.

https://github.com/adaptlearning/adapt_authoring/blob/master/frontend/src/core/editor/page/views/editorComponentListView.js#L82-L83

The string representations of the keys should not have a "." and L83 should not have a hasOwnProperty call as it is the value itself we are trying to return.

I will try and PR when I get a chance

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

No branches or pull requests

2 participants