Browse Source

fix(printer): add X2D to add/edit printer model dropdowns (#988)

  Both the Add Printer and Edit Printer modals had hardcoded model lists
  missing the X2D — manual printer setup had no way to select the new
  model. Auto-discovery via SSDP and virtual printer model selection
  (dynamic from backend) were unaffected.
maziggy 1 tháng trước cách đây
mục cha
commit
c6aba21278

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
CHANGELOG.md


+ 6 - 0
frontend/src/pages/PrintersPage.tsx

@@ -5271,6 +5271,9 @@ function AddPrinterModal({
                   <option value="H2D Pro">H2D Pro</option>
                   <option value="H2S">H2S</option>
                 </optgroup>
+                <optgroup label="X2 Series">
+                  <option value="X2D">X2D</option>
+                </optgroup>
                 <optgroup label="X1 Series">
                   <option value="X1E">X1E</option>
                   <option value="X1C">X1 Carbon</option>
@@ -5725,6 +5728,9 @@ function EditPrinterModal({
                   <option value="H2D Pro">H2D Pro</option>
                   <option value="H2S">H2S</option>
                 </optgroup>
+                <optgroup label="X2 Series">
+                  <option value="X2D">X2D</option>
+                </optgroup>
                 <optgroup label="X1 Series">
                   <option value="X1E">X1E</option>
                   <option value="X1C">X1 Carbon</option>

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
static/assets/index-DEBOSiPG.js


+ 1 - 1
static/index.html

@@ -26,7 +26,7 @@
 
     <!-- Splash screens for iOS -->
     <link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
-    <script type="module" crossorigin src="/assets/index-Bre7b40i.js"></script>
+    <script type="module" crossorigin src="/assets/index-DEBOSiPG.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-3s5orqQ4.css">
   </head>
   <body>

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác