Skip to content

Commit

Permalink
assets-overview: fix bug in tab list
Browse files Browse the repository at this point in the history
  • Loading branch information
andypf committed Jun 25, 2024
1 parent be90245 commit de77d1c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions apps/assets-overview/src/components/AssetDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,14 @@ const AssetDetails = () => {
/>
</TabPanel>
)}
{asset?.type === APP && (
<TabPanel>
<MessagesProvider>
<TabPreview asset={asset} />
</MessagesProvider>
</TabPanel>
)}
{(asset?.type === APP || asset?.type === PACKAGE) &&
asset?.appPreview && (
<TabPanel>
<MessagesProvider>
<TabPreview asset={asset} />
</MessagesProvider>
</TabPanel>
)}
<TabPanel>
<TabAdvanced asset={asset} />
</TabPanel>
Expand Down

0 comments on commit de77d1c

Please sign in to comment.