Skip to content

🎧 Your Personal Streaming Service

fix(ui): add CreateButton back to LibraryListActions

Deluan0161a0958c3e
diff --git a/ui/src/library/LibraryListActions.jsx b/ui/src/library/LibraryListActions.jsx
index f6f1ca90d..f4d0913df 100644
--- a/ui/src/library/LibraryListActions.jsx
+++ b/ui/src/library/LibraryListActions.jsx
@@ -1,5 +1,5 @@
import React, { cloneElement } from 'react'
-import { sanitizeListRestProps, TopToolbar } from 'react-admin'
+import { sanitizeListRestProps, TopToolbar, CreateButton } from 'react-admin'
import LibraryScanButton from './LibraryScanButton'
const LibraryListActions = ({
@@ -23,6 +23,7 @@ const LibraryListActions = ({
})}
<LibraryScanButton fullScan={false} />
<LibraryScanButton fullScan={true} />
+ <CreateButton />
</TopToolbar>
)
}