Fix plate-clear button unclickable after second print (#912)

The clearPlateMutation.isSuccess state from React Query persisted after
  the first successful plate clear. When the next print finished, the
  stale isSuccess rendered the static confirmation instead of the clickable
  button. Reset mutation state when printer leaves FINISH/FAILED.
This commit is contained in:
maziggy
2026-04-09 08:00:58 +02:00
parent 100610a1ef
commit 502959a0df
4 changed files with 14 additions and 2 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -23,7 +23,7 @@
<!-- Splash screens for iOS -->
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
<script type="module" crossorigin src="/assets/index-DMDXAsuP.js"></script>
<script type="module" crossorigin src="/assets/index-CNOL7dUq.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CA19cW_f.css">
</head>
<body>