Merge pull request #5512 from jakemcdermott/ui-next-fix-template-tab-unload

Don't reload template panel on tab change

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-12-17 00:16:25 +00:00
committed by GitHub

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" />