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
commit c062728359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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