Don't show error symbol when loading unless error
This commit is contained in:
parent
2b8d08c78c
commit
a265656984
2 changed files with 9 additions and 4 deletions
|
|
@ -44,7 +44,8 @@ export const useSettingsStore = defineStore(
|
|||
function resetState() {
|
||||
waiting.value = false;
|
||||
available.value = false;
|
||||
error.value = ""; // TODO: verify that "" is needed to match initial state
|
||||
// On resetState there is no connection.
|
||||
error.value = "Microscope is not connected.";
|
||||
}
|
||||
|
||||
function setConnected() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue