mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-18 21:47:39 +02:00
Fix queue badge showing on printers without matching filament (#486)
The purple queue counter badge in the printer card header used the raw unfiltered queue item count, so it appeared on ALL printers of the same model when a job was scheduled for "any [model]" — even printers without the matching filament color. The PrinterQueueWidget below it (which shows "Clear Plate & Start") already filtered by filament type + color. Apply the same filament compatibility filter (type check + color override check) to the badge count so it only shows on printers that can actually run the queued jobs.
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -23,8 +23,13 @@
|
||||
|
||||
<!-- Splash screens for iOS -->
|
||||
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
|
||||
<<<<<<< HEAD
|
||||
<script type="module" crossorigin src="/assets/index-CxFtC4Kb.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DJjXosw8.css">
|
||||
=======
|
||||
<script type="module" crossorigin src="/assets/index-tKUolDFn.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BKdrvUCu.css">
|
||||
>>>>>>> 7eb7bf7 (Fix queue badge showing on printers without matching filament (#486))
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
Reference in New Issue
Block a user