File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22 "name" : " SoulSifter" ,
33 "version" : " 1.5.0" ,
44 "description" : " DJ & music organization app." ,
5- "build" : 2992 ,
5+ "build" : 2993 ,
66 "main" : " main.js" ,
77 "scripts" : {
88 "fe:build" : " vite build" ,
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ class SongEdit extends AlertsMixin(SettingsMixin(SongEditMixin(LitElement))) {
218218 }
219219
220220 if ( this . editedSong . id ) {
221- this . notifySongEdited ( this . editedSong ) ;
221+ this . notifySongEdited ( this . editedSong . id ) ;
222222 this . editedSong . update ( ) ;
223223 if ( ! this . songIsTrashed && this . editedSong . trashed ) this . newSongManager . trashMusicFile ( this . editedSong ) ;
224224 } else {
Original file line number Diff line number Diff line change @@ -201,9 +201,9 @@ class SongList extends AlertsMixin(BpmMixin(GenresMixin(PlaylistsMixin(QueryMixi
201201 }
202202 }
203203
204- updateEditedSong ( s ) {
204+ updateEditedSong ( id ) {
205205 this . shadowRoot . querySelectorAll ( 'song-list-item' ) . forEach ( el => {
206- if ( el . song . id == s . id ) el . song = s ;
206+ if ( el . song . id == id ) el . song = ss . Song . findById ( id ) ;
207207 } ) ;
208208 }
209209
Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ class SongSection extends SettingsMixin(SongEditMixin(SongMixin(SongTrailMixin(L
208208 e . stopPropagation ( ) ;
209209 }
210210
211- updateEditedSong ( s ) {
212- if ( this . song . id == s . id ) this . song = s ;
211+ updateEditedSong ( id ) {
212+ if ( this . song . id == id ) this . song = ss . Song . findById ( id ) ;
213213 }
214214
215215 songEnded ( e ) {
You can’t perform that action at this time.
0 commit comments