Browse Source

refactor: eslint fixes

Kristian Vos 3 years ago
parent
commit
805dc96b64
1 changed files with 3 additions and 1 deletions
  1. 3 1
      frontend/src/components/modals/EditSong/index.vue

+ 3 - 1
frontend/src/components/modals/EditSong/index.vue

@@ -854,7 +854,7 @@ export default {
 		});
 	},
 	methods: {
-		init(why) {
+		init() {
 			if (this.songId) this.loadSong(this.songId);
 			else if (!this.bulk) {
 				new Toast("You can't open EditSong without editing a song");
@@ -1043,6 +1043,8 @@ export default {
 					}
 				);
 			});
+
+			return null;
 		},
 		unloadSong(songId) {
 			this.songDataLoaded = false;