Skip to content
Snippets Groups Projects
Commit ff9b4339 authored by Brian Peiris's avatar Brian Peiris
Browse files

fix selector url

parent 0d9aa64a
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ class ProfileEntryPanel extends Component { ...@@ -86,7 +86,7 @@ class ProfileEntryPanel extends Component {
className="profile-entry__avatar-selector" className="profile-entry__avatar-selector"
src={ src={
/* HACK: Have to account for the smoke test server like this. Feels wrong though. */ /* HACK: Have to account for the smoke test server like this. Feels wrong though. */
`$/{/smoke/i.test(location.hostname) ? "smoke-" : ""}avatar-selector.html#avatar_id=${ `/${/smoke/i.test(location.hostname) ? "smoke-" : ""}avatar-selector.html#avatar_id=${
this.state.avatar_id this.state.avatar_id
}` }`
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment