Display localhost title after connection to remixd

pull/986/head
ioedeveloper 4 years ago
parent 78e1a57d0c
commit b3e70fb989
  1. 2
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -365,7 +365,7 @@ export const Workspace = (props: WorkspaceProps) => {
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> }
</select>
</div>

Loading…
Cancel
Save