Removed unused code

This commit is contained in:
Core 2022-09-10 23:20:49 +01:00
parent 5099d41260
commit 1321b4d287
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0

View file

@ -2370,14 +2370,6 @@ const app = new Vue({
let self = this; let self = this;
let prefs = this.cfg.libraryPrefs.songs; let prefs = this.cfg.libraryPrefs.songs;
const albumAdded = {};
for (const listing of self.library?.albums?.listing ?? []) {
albumAdded[listing.id] = listing.attributes?.dateAdded;
}
let startTime = new Date().getTime();
function sortSongs() { function sortSongs() {
// sort this.library.songs.displayListing by song.attributes[self.library.songs.sorting] in descending or ascending order based on alphabetical order and numeric order // sort this.library.songs.displayListing by song.attributes[self.library.songs.sorting] in descending or ascending order based on alphabetical order and numeric order
// check if song.attributes[self.library.songs.sorting] is a number and if so, sort by number if not, sort by alphabetical order ignoring case // check if song.attributes[self.library.songs.sorting] is a number and if so, sort by number if not, sort by alphabetical order ignoring case