Always show device dropdown and add bambu_diagnose for multi-printer troubleshooting.

This commit is contained in:
RNL
2026-06-20 14:48:45 +10:00
parent e7bc3291b6
commit 58ebdf518e
6 changed files with 288 additions and 3 deletions

View File

@@ -52,7 +52,8 @@ class PrinterDashboardView(LoginRequiredMixin, TemplateView):
all_printers = Printer.objects.filter(is_active=True)
context["all_printers"] = all_printers
context["show_printer_switcher"] = all_printers.count() > 1
# Shown even with a single printer — hints that multi-printer support exists.
context["show_printer_switcher"] = all_printers.exists()
try:
printer_device = resolve_printer_from_request(self.kwargs.get("pk"))