fix(ui): add CreateButton back to LibraryListActions

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-11-15 17:31:37 -05:00
parent 28d5299ffc
commit 0161a0958c

View File

@ -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>
)
}