fix rendering och refresh så det inte uppdatera sidan vid inställningar
This commit is contained in:
@@ -162,7 +162,7 @@ function connectDecoderRole(role, deps) {
|
||||
state.decoder[lastErrorKey] = "";
|
||||
saveState();
|
||||
updateConnectionBadge();
|
||||
if (["timing", "settings", "overlay"].includes(getCurrentView())) {
|
||||
if (["timing", "overlay"].includes(getCurrentView())) {
|
||||
renderView();
|
||||
}
|
||||
};
|
||||
@@ -207,7 +207,7 @@ function connectDecoderRole(role, deps) {
|
||||
}, 2000));
|
||||
}
|
||||
|
||||
if (["timing", "settings", "overlay"].includes(getCurrentView())) {
|
||||
if (["timing", "overlay"].includes(getCurrentView())) {
|
||||
renderView();
|
||||
}
|
||||
};
|
||||
@@ -216,7 +216,7 @@ function connectDecoderRole(role, deps) {
|
||||
state.decoder[lastErrorKey] = t("error.decoder_connection");
|
||||
saveState();
|
||||
updateConnectionBadge();
|
||||
if (["timing", "settings", "overlay"].includes(getCurrentView())) {
|
||||
if (["timing", "overlay"].includes(getCurrentView())) {
|
||||
renderView();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user