fix: preserve native reorder rack devices

This commit is contained in:
2026-08-13 09:58:34 +02:00
parent a5f8cb62c7
commit 33490d40c4
5 changed files with 37 additions and 8 deletions
@@ -291,6 +291,9 @@ class ReorderRackFrontendTest(SimpleTestCase):
self.assertIn("data.schema_version !== 3", script)
self.assertIn("data.complete !== true", script)
self.assertIn("nativeMountedItems.length", script)
self.assertIn("const nativeItemsByFace = {}", script)
self.assertIn("const device = devicesById.get", script)
self.assertIn("if (!nativeItemsByFace[face].has", script)
self.assertNotIn("partialDeviceIds", script)
self.assertNotIn("JSON.stringify", script)