Skip to content

Commit

Permalink
#2264 - Template menu tab and content differs (#2284)
Browse files Browse the repository at this point in the history
Co-authored-by: Stanislav Permiakov <Stanislav.Permiakov@primark.onmicrosoft.com>
  • Loading branch information
KonstantinEpam23 and Stanislav Permiakov committed Feb 28, 2023
1 parent 41171a6 commit 48b1477
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ const TemplateDialog: FC<Props> = (props) => {
/>
</Tabs>
<div className={classes.tabsContent}>
<TabPanel value={tab} index={TemplateTabs.TemplateLibrary}>
<TabPanel
value={thisInitialTab !== null ? initialTab : tab}
index={TemplateTabs.TemplateLibrary}
>
<div>
{Object.keys(filteredTemplateLib).length ? (
Object.keys(filteredTemplateLib).map((groupName) => {
Expand Down

0 comments on commit 48b1477

Please sign in to comment.