fix(sidebar): preserve table reference drag while filtering

This commit is contained in:
Euan authored and GitHub committed 2026-07-31 16:22:41 +08:00
1 parent c78f451177
commit af16c82568
4 files changed
+167 -10

No files matched your search

@@ -25,7 +25,7 @@ describe("sidebar filter guards", () => {
expect(source).toContain("sidebarTableSearchEnabled && !isTreeSearchFiltering.value");
expect(source).toContain("!useVirtualTree.value || isTreeSearchFiltering.value");
expect(source.match(/if \(isRootListPartial\.value\)/g)).toHaveLength(2);
expect(source.match(/:drag-disabled="isRootListPartial \|\| isConnectionListAlphabeticallySorted"/g)).toHaveLength(2);
expect(source.match(/:reorder-disabled="isRootListPartial \|\| isConnectionListAlphabeticallySorted"/g)).toHaveLength(2);
expect(source).not.toContain("isFiltering");
});
});