Browse Source

fix(EditSong/Tabs/Songs): Variable 'song' is already declared in the upper scope

Owen Diffey 2 years ago
parent
commit
01f6073854
1 changed files with 3 additions and 3 deletions
  1. 3 3
      frontend/src/components/modals/EditSong/Tabs/Songs.vue

+ 3 - 3
frontend/src/components/modals/EditSong/Tabs/Songs.vue

@@ -56,9 +56,9 @@ onMounted(async () => {
 		</div>
 		<div v-if="musareSearch.results.length > 0">
 			<song-item
-				v-for="song in musareSearch.results"
-				:key="song._id"
-				:song="song"
+				v-for="result in musareSearch.results"
+				:key="result._id"
+				:song="result"
 				:disabled-actions="['addToPlaylist', 'edit']"
 			/>
 			<button