Skip to content

Commit

Permalink
🔨 fix object cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed Jul 25, 2023
1 parent 2feedde commit c090d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modals/SetlistSet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ const setlistSongs = ref(null);
const initInput = () => {
resetErrors();
resetFilter();
const sl = props.initialSetlist;
const sl = {...props.initialSetlist};
// only show undeleted songs
sl.songs = sl.songs.filter(s => s.id in props.songs);
// init visibility state if not existing
Expand Down

0 comments on commit c090d24

Please sign in to comment.