Unverified Commit bac95417 authored by David Disu's avatar David Disu Committed by GitHub

Merge pull request #986 from ethereum/localhost-workspace

Display localhost title after connection to remixd
parents 78e1a57d b3e70fb9
...@@ -365,7 +365,7 @@ export const Workspace = (props: WorkspaceProps) => { ...@@ -365,7 +365,7 @@ export const Workspace = (props: WorkspaceProps) => {
return <option selected={state.currentWorkspace === folder} value={folder}>{folder}</option> return <option selected={state.currentWorkspace === folder} value={folder}>{folder}</option>
}) })
} }
<option selected={state.currentWorkspace === LOCALHOST} value={LOCALHOST}>{LOCALHOST}</option> <option selected={state.currentWorkspace === LOCALHOST} value={LOCALHOST}>{state.currentWorkspace === LOCALHOST ? 'localhost' : LOCALHOST}</option>
{ state.workspaces.length <= 0 && <option selected={state.currentWorkspace === NO_WORKSPACE} value={NO_WORKSPACE}>{NO_WORKSPACE}</option> } { state.workspaces.length <= 0 && <option selected={state.currentWorkspace === NO_WORKSPACE} value={NO_WORKSPACE}>{NO_WORKSPACE}</option> }
</select> </select>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment