Skip to content

Commit 636b73b

Browse files
committedMar 20, 2025
bring data-hooks back
1 parent ce5780a commit 636b73b

File tree

1 file changed

+5
-1
lines changed
  • packages/web-console/src/scenes/Schema/Table

1 file changed

+5
-1
lines changed
 

‎packages/web-console/src/scenes/Schema/Table/index.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,15 @@ const Table = ({
213213
</ContextMenuTrigger>
214214

215215
<ContextMenuContent>
216-
<MenuItem onClick={handleCopyQuery} icon={<FileCopy size={14} />}>
216+
<MenuItem
217+
data-hook="table-context-menu-copy-schema"
218+
onClick={handleCopyQuery} icon={<FileCopy size={14} />}
219+
>
217220
Copy schema
218221
</MenuItem>
219222
{walTableData?.suspended && (
220223
<MenuItem
224+
data-hook="table-context-menu-resume-wal"
221225
onClick={() => setSuspensionDialogOpen(true)}
222226
icon={<Restart size={14} />}
223227
>

0 commit comments

Comments
 (0)
Failed to load comments.