Fix issue with Admin UI: Switching page to referenced model #4367
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix issue with Admin UI: Switching page to referenced model (temporary) breaks app.
Issue was happening because to
loadValue
was passing object, and because of this was failing in ternary operator :changed this ti check if really string or array and only then use split if this param is type of string. In other case set empty array.
Tried to use this instead of npm package: for me it resolves issue described in keystonejs/keystone#3696
But for me occurs another one when use repository from my github : occurs warnings in browser console of admin page
I think this because in my repository is missing bundles which are there when install from npm and are placed in
keystone/admin/js
folder .Could anybody please prepare me this bundles?