fix(ui): add CreateButton back to LibraryListActions
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
28d5299ffc
commit
0161a0958c
1 changed files with 2 additions and 1 deletions
|
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue