Don't reload panel on tab change

This commit is contained in:
Jake McDermott
2019-12-13 17:30:52 -05:00
parent 04c535e3f9
commit 9ed2534ac5

View File

@@ -120,7 +120,7 @@ class Template extends Component {
tab.id = n; tab.id = n;
}); });
let cardHeader = hasContentLoading ? null : ( let cardHeader = (
<CardHeader style={{ padding: 0 }}> <CardHeader style={{ padding: 0 }}>
<RoutedTabs history={history} tabsArray={tabsArray} /> <RoutedTabs history={history} tabsArray={tabsArray} />
<CardCloseButton linkTo="/templates" /> <CardCloseButton linkTo="/templates" />