mirror of
https://github.com/RunLit/Bambu-Run.git
synced 2026-06-22 22:19:03 +01:00
Always show device dropdown and add bambu_diagnose for multi-printer troubleshooting.
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user