Browse Source

Fixed bug where you can't remove tags

theflametrooper 8 years ago
parent
commit
05ee781651
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frontend/components/Modals/EditSong.vue

+ 2 - 2
frontend/components/Modals/EditSong.vue

@@ -60,7 +60,7 @@
 							</p>
 							<span class='tag is-info' v-for='(index, artist) in $parent.editing.song.artists' track-by='$index'>
 								{{ artist }}
-								<button class='delete is-info' @click='$parent.removeTag("artists", index)'></button>
+								<button class='delete is-info' @click='$parent.$parent.removeTag("artists", index)'></button>
 							</span>
 						</div>
 						<div>
@@ -70,7 +70,7 @@
 							</p>
 							<span class='tag is-info' v-for='(index, genre) in $parent.editing.song.genres' track-by='$index'>
 								{{ genre }}
-								<button class='delete is-info' @click='$parent.removeTag("genres", index)'></button>
+								<button class='delete is-info' @click='$parent.$parent.removeTag("genres", index)'></button>
 							</span>
 						</div>
 					</div>