Skip to content

Commit c056392

Browse files
committed
fix: rebase issues
1 parent 4d41298 commit c056392

File tree

1 file changed

+2
-2
lines changed
  • src/studio-home/tabs-section/libraries-tab

1 file changed

+2
-2
lines changed

src/studio-home/tabs-section/libraries-tab/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const LibrariesTab = () => {
136136

137137
return (
138138
<>
139-
<MigrateLegacyLibrariesAlert />
139+
{getConfig().ENABLE_LEGACY_LIBRARY_MIGRATOR === 'true' && (<MigrateLegacyLibrariesAlert />)}
140140
<div className="courses-tab">
141141
<ActionRow className="my-3">
142142
<SearchField
@@ -154,7 +154,7 @@ const LibrariesTab = () => {
154154
<>
155155
{intl.formatMessage(messages.coursesPaginationInfo, {
156156
length: currentPageData?.length,
157-
total: data.libraries.length,
157+
total: data?.libraries.length,
158158
})}
159159
</>
160160
)}

0 commit comments

Comments
 (0)