fix(ui): add CreateButton back to LibraryListActions
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import React, { cloneElement } from 'react'
|
import React, { cloneElement } from 'react'
|
||||||
import { sanitizeListRestProps, TopToolbar } from 'react-admin'
|
import { sanitizeListRestProps, TopToolbar, CreateButton } from 'react-admin'
|
||||||
import LibraryScanButton from './LibraryScanButton'
|
import LibraryScanButton from './LibraryScanButton'
|
||||||
|
|
||||||
const LibraryListActions = ({
|
const LibraryListActions = ({
|
||||||
@@ -23,6 +23,7 @@ const LibraryListActions = ({
|
|||||||
})}
|
})}
|
||||||
<LibraryScanButton fullScan={false} />
|
<LibraryScanButton fullScan={false} />
|
||||||
<LibraryScanButton fullScan={true} />
|
<LibraryScanButton fullScan={true} />
|
||||||
|
<CreateButton />
|
||||||
</TopToolbar>
|
</TopToolbar>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user