mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01: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,
|
fileName: trackModel.fileName,
|
||||||
recordingId: recordingInfo.recording.id,
|
recordingId: recordingInfo.recording.id,
|
||||||
index: i,
|
index: i,
|
||||||
partIds: [trackModel.workPartIndex],
|
partIds: trackModel.workPartIndex != null
|
||||||
|
? [trackModel.workPartIndex]
|
||||||
|
: [],
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue