Skip to content

Commit

Permalink
admin: Declare a private variable as _ to avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrRip committed Nov 28, 2023
1 parent 93f9815 commit 934609f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/admin/pages/playlist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function viewPlaylistStageChanges (changes: Song) {

// Modify song
if (viewPlaylistData.value.some(song => song.$id === changes.$id) && Object.keys(changes).length > 1) {
const song = viewPlaylistData.value.find(song => song.$id === changes.$id)
const song = viewPlaylistData.value.find(_ => _.$id === changes.$id)
let changesValid = false
for (const field in changes) {
// @ts-ignore
Expand Down

0 comments on commit 934609f

Please sign in to comment.