8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213303e commit 3845458Copy full SHA for 3845458
ui/arduino/components/toolbar.js
@@ -1,7 +1,7 @@
1
function Toolbar(state, emit) {
2
const connect = Button({
3
icon: state.isConnected ? 'icons/Connect.svg' : 'icons/Disconnect.svg',
4
- label: 'Connect',
+ label: state.isConnected ? 'Disconnect' : 'Connect',
5
disabled: false,
6
onclick: () => emit('open-port-dialog'),
7
color: 'default'
0 commit comments