mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-28 18:38:17 +00:00
fix(ui) Fix location of data-testid for schema field drawer (#13741)
This commit is contained in:
parent
f62a58c080
commit
53c0b11c26
@ -286,7 +286,10 @@ export const SchemaFieldDrawerTabs = ({ tabs, selectedTab, onSelectTab }: Props)
|
||||
<Tab
|
||||
tab={
|
||||
<TabIconContainer $isSelected={isSelected}>
|
||||
<IconWrapper $isSelected={isSelected}>
|
||||
<IconWrapper
|
||||
$isSelected={isSelected}
|
||||
data-testid={`${name}-field-drawer-tab-header`}
|
||||
>
|
||||
{isSelected ? (
|
||||
<SelectedTabIcon size={20} weight="fill" />
|
||||
) : (
|
||||
@ -297,7 +300,6 @@ export const SchemaFieldDrawerTabs = ({ tabs, selectedTab, onSelectTab }: Props)
|
||||
</TabIconContainer>
|
||||
}
|
||||
key={tab.name}
|
||||
data-testid={`${name}-field-drawer-tab-header`}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user