mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
return only track_ids
This commit is contained in:
parent
a086312b48
commit
dacca7021c
@ -7,7 +7,7 @@ import MusicModel from "@models/music"
|
|||||||
|
|
||||||
import useUrlQueryActiveKey from "@hooks/useUrlQueryActiveKey"
|
import useUrlQueryActiveKey from "@hooks/useUrlQueryActiveKey"
|
||||||
|
|
||||||
import TrackManifest from "@classes/TrackManifest"
|
import TrackManifest from "@cores/player/classes/TrackManifest"
|
||||||
|
|
||||||
import { DefaultReleaseEditorState, ReleaseEditorStateContext } from "@contexts/MusicReleaseEditor"
|
import { DefaultReleaseEditorState, ReleaseEditorStateContext } from "@contexts/MusicReleaseEditor"
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ const ReleaseEditor = (props) => {
|
|||||||
cover: globalState.cover,
|
cover: globalState.cover,
|
||||||
explicit: globalState.explicit,
|
explicit: globalState.explicit,
|
||||||
type: globalState.type,
|
type: globalState.type,
|
||||||
list: tracks.list,
|
list: tracks.list.map((item) => item._id),
|
||||||
})
|
})
|
||||||
|
|
||||||
app.location.push(`/studio/music/${result._id}`)
|
app.location.push(`/studio/music/${result._id}`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user