mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make EntitySettingRegistry fully injectable (#6604)
* Make EntitySettingRegistry fully injectable Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add behavioural tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix lint Signed-off-by: Sebastian Malton <sebastian@malton.name> * Revert tsconfig change Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix type errors Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update snapshot Signed-off-by: Sebastian Malton <sebastian@malton.name> * Improve naming Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
8897bfc26b
commit
9589175604
51 files changed
+2103
-540
No files matched your search
@@ -43,6 +43,7 @@ export const TabLayout = observer(
|
||||
active={active}
|
||||
data-is-active-test={active}
|
||||
data-testid={`tab-link-for-${registration.id}`}
|
||||
value={undefined}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
|
||||
@@ -39,7 +39,7 @@ export const TabLayout = observer(({ className, contentClass, tabs = [], childre
|
||||
return (
|
||||
<div className={cssNames("TabLayout", className)}>
|
||||
{hasTabs && (
|
||||
<Tabs center onChange={(url) => navigate(url)}>
|
||||
<Tabs<string> center onChange={(url) => navigate(url)}>
|
||||
{tabs.map(({ title, routePath, url = routePath, exact }) => (
|
||||
<Tab
|
||||
key={url}
|
||||
|
||||
Reference in new issue
Block a user