8000 Fixed auto-connect for FM view and amended text to connect. · arduino/lab-micropython-editor@954010b · GitHub
[go: up one dir, main page]

Skip to content

Commit 954010b

Browse files
committed
Fixed auto-connect for FM view and amended text to connect.
Signed-off-by: ubi de feo <me@ubidefeo.com>
1 parent e0db436 commit 954010b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/arduino/views/file-manager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function FileManagerView(state, emit) {
2-
let boardFullPath = 'Select a board...'
2+
let boardFullPath = 'Connect to board'
33
let diskFullPath = `${state.diskNavigationRoot}${state.diskNavigationPath}`
44

55
if (state.isConnected) {
@@ -13,7 +13,7 @@ function FileManagerView(state, emit) {
1313
<div id="board-files">
1414
<div class="device-header">
1515
<img class="icon" src="media/${state.isConnected?'board':'disconnect'}.svg" />
16-
<div onclick=${() => emit('open-connection-dialog')} class="text">
16+
<div onclick=${() => emit('connect')} class="text">
1717
<span>${boardFullPath}</span>
1818
</div>
1919
<button disabled=${!state.isConnected} onclick=${() => emit('create-folder', 'board')}>

0 commit comments

Comments
 (0)
0