mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-03 08:57:53 +01:00
Add button to share selected songs
This commit is contained in:
parent
69b36c75a5
commit
85084cda57
6 changed files with 56 additions and 6 deletions
|
|
@ -15,11 +15,12 @@ export const DOWNLOAD_MENU_SONG = 'song'
|
|||
export const SHARE_MENU_OPEN = 'SHARE_MENU_OPEN'
|
||||
export const SHARE_MENU_CLOSE = 'SHARE_MENU_CLOSE'
|
||||
|
||||
export const openShareMenu = (ids, resource, name) => ({
|
||||
export const openShareMenu = (ids, resource, name, label) => ({
|
||||
type: SHARE_MENU_OPEN,
|
||||
ids,
|
||||
resource,
|
||||
name,
|
||||
label,
|
||||
})
|
||||
|
||||
export const closeShareMenu = () => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue