瀏覽代碼

Fix formatting of option elements in FilamentMapping

MartinNYHC 6 月之前
父節點
當前提交
15437534ed
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      frontend/src/components/PrintModal/FilamentMapping.tsx

+ 4 - 4
frontend/src/components/PrintModal/FilamentMapping.tsx

@@ -222,11 +222,11 @@ export function FilamentMapping({
                         })
                         })
                       : '';
                       : '';
                     return (
                     return (
-                  <option key={f.globalTrayId} value={f.globalTrayId} className="bg-bambu-dark text-white">
-                    {f.label}: {f.type} ({f.colorName}){remainingLabel}
-                  </option>
+                      <option key={f.globalTrayId} value={f.globalTrayId} className="bg-bambu-dark text-white">
+                        {f.label}: {f.type} ({f.colorName}){remainingLabel}
+                      </option>
                     );
                     );
-                  })}
+                })}
               </select>
               </select>
               {/* Status icon */}
               {/* Status icon */}
               {item.status === 'match' ? (
               {item.status === 'match' ? (