🐛 Only clear gcodeviewer state on job data when idle (#4449)

This commit is contained in:
JoveToo authored and GitHub committed 2022-03-10 14:01:32 +01:00
1 parent cb2d611477
commit 6f02720d38
1 file changed
+1 -1
@@ -614,7 +614,7 @@ $(function () {
}
self.errorCount = 0;
} else {
self.clear();
if (self.status === "idle") self.clear();
if (
data.job.file.path &&
data.job.file.origin !== "sdcard" &&