mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-25 19:27:24 +02:00
Tracks editor: Leave parts empty if not set
This commit is contained in:
parent
5ffecb97c6
commit
b78cf31082
1 changed files with 3 additions and 1 deletions
|
|
@ -47,7 +47,9 @@ class _TracksEditorState extends State<TracksEditor> {
|
|||
fileName: trackModel.fileName,
|
||||
recordingId: recordingInfo.recording.id,
|
||||
index: i,
|
||||
partIds: [trackModel.workPartIndex],
|
||||
partIds: trackModel.workPartIndex != null
|
||||
? [trackModel.workPartIndex]
|
||||
: [],
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue