You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest release (v1.2.0), it now get the following error when I use the UI to switch to a new profile.
bundle.js?v=1.2.1:28 Uncaught (in promise) TypeError: Cannot read property 'url' of undefined
at t.value (bundle.js?v=1.2.1:28)
at c._renderValidatedComponentWithoutOwnerOrContext (bundle.js?v=1.2.1:41)
at c._renderValidatedComponent (bundle.js?v=1.2.1:41)
at c.performInitialMount (bundle.js?v=1.2.1:41)
at c.mountComponent (bundle.js?v=1.2.1:41)
at Object.mountComponent (bundle.js?v=1.2.1:7)
at Object.updateChildren (bundle.js?v=1.2.1:40)
at f._reconcilerUpdateChildren (bundle.js?v=1.2.1:42)
at f._updateChildren (bundle.js?v=1.2.1:42)
at f.updateChildren (bundle.js?v=1.2.1:42)
at f._updateDOMChildren (bundle.js?v=1.2.1:41)
at f.updateComponent (bundle.js?v=1.2.1:41)
at f.receiveComponent (bundle.js?v=1.2.1:41)
I believe this error was introduced in #41 when Dashboard.js tries to do const profileUrl = this.props.profile.parameters.url. Looking at the code in App.js, _changeProfile finds the profile data from profiles.json and sets that in the state which is then passed to Dashboard. However, profiles.json does not define parameters. It looks like we probably need "parameters":{{ profile.parameters | jsonify }} in profiles.json.
I may be over looking something but that's my best guess. Anyone else seeing this error?
The text was updated successfully, but these errors were encountered:
With the latest release (v1.2.0), it now get the following error when I use the UI to switch to a new profile.
I believe this error was introduced in #41 when Dashboard.js tries to do
const profileUrl = this.props.profile.parameters.url
. Looking at the code in App.js,_changeProfile
finds the profile data from profiles.json and sets that in the state which is then passed to Dashboard. However, profiles.json does not define parameters. It looks like we probably need"parameters":{{ profile.parameters | jsonify }}
in profiles.json.I may be over looking something but that's my best guess. Anyone else seeing this error?
The text was updated successfully, but these errors were encountered: