mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-24 08:58:06 +00:00
GEN-2186: Fix Updating sampling config from deep link issue (#18916)
This commit is contained in:
parent
28f551d20a
commit
dbd9311a2c
@ -493,9 +493,12 @@ test(
|
||||
await page.getByTestId('profiler').click();
|
||||
await page
|
||||
.getByTestId('profiler-tab-left-panel')
|
||||
.getByText('Table Profile')
|
||||
.getByText('Data Quality')
|
||||
.click();
|
||||
|
||||
await page.reload();
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
await page.click('[data-testid="profiler-setting-btn"]');
|
||||
await page.waitForSelector('.ant-modal-body');
|
||||
await page.locator('[data-testid="slider-input"]').clear();
|
||||
|
@ -415,7 +415,7 @@ const ProfilerSettingsModal: React.FC<ProfilerSettingsModalProps> = ({
|
||||
} else {
|
||||
setIsDataLoading(false);
|
||||
}
|
||||
}, []);
|
||||
}, [tableId]);
|
||||
|
||||
return (
|
||||
<Modal
|
||||
|
@ -308,8 +308,8 @@ export const TableProfilerProvider = ({
|
||||
{children}
|
||||
{settingModalVisible && (
|
||||
<ProfilerSettingsModal
|
||||
columns={tableProfiler?.columns ?? []}
|
||||
tableId={tableProfiler?.id ?? ''}
|
||||
columns={table?.columns ?? []}
|
||||
tableId={table?.id ?? ''}
|
||||
visible={settingModalVisible}
|
||||
onVisibilityChange={handleSettingModal}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user