fix(grid): protect unsaved cell edits on data tab reuse
This commit is contained in:
5 files changed
+49
-9
No files matched your search
@@ -223,6 +223,7 @@ describe("useSidebarDataOpenRuntime", () => {
|
||||
["pinned", { pinned: true }],
|
||||
["executing", { isExecuting: true, executionId: "running" }],
|
||||
["pending edits", { pendingDataChangeCount: 1 }],
|
||||
["pending editor draft", { hasPendingDataEditorDraft: true }],
|
||||
])("opens a new tab instead of replacing an active %s data tab", async (_label, patch) => {
|
||||
mocks.dataTabReuseMode = "active-tab";
|
||||
const activeTab = {
|
||||
|
||||
Reference in new issue
Block a user