mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 23:06:00 +00:00
column scroll
This commit is contained in:
@@ -48,10 +48,11 @@ export default function TabContent() {
|
||||
|
||||
return _.keys(mountedTabs).map(tabid => {
|
||||
const { TabComponent, props } = mountedTabs[tabid];
|
||||
const tabVisible = tabid == (selectedTab && selectedTab.tabid);
|
||||
return (
|
||||
// @ts-ignore
|
||||
<TabContainer key={tabid} tabVisible={tabid == (selectedTab && selectedTab.tabid)}>
|
||||
<TabComponent {...props} />
|
||||
<TabContainer key={tabid} tabVisible={tabVisible}>
|
||||
<TabComponent {...props} tabVisible={tabVisible} />
|
||||
</TabContainer>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user