Skip to content

Commit

Permalink
correct rendering of regex in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
dwido committed Feb 5, 2018
1 parent fd2ff73 commit ea09918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/angularIL/mock.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Leonardo.addStates([
{
"name": "Authenticate",
"url": "/login",
"url": /\/login/,
"verb": "GET",
"options": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/leonardo/ui-react/scenarios/components/State/State.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class State extends React.Component<StateProps & PassedProps, any>{
<span className={"state-verb " + "state-verb-" + item.verb.toLowerCase()}>{item.verb}</span>
<span className="state-data-container">
<span className="state-name">{item.name}</span>
<span className="state-url">{item.url}</span>
<span className="state-url">{item.url? item.url.toString() : ''}</span>
</span>
<DropdownList
onClick={(e) => {e.stopPropagation()}}
Expand Down

0 comments on commit ea09918

Please sign in to comment.