Bugfix genre store

This commit is contained in:
2025-09-01 15:08:13 +02:00
parent 9506156070
commit 409fa835a3
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# v.0.4.0 (2025-08-30)
# v.0.4.0 MuC-Edition (2025-09-01)
## 🚀 Features

View File

@@ -37,7 +37,7 @@ export const useGenreStore = defineStore("genreStore", {
fetchAllGenres().then((response) => {
this.genres = response.data;
let genresByNumberOfBands = this.genres;
let genresByNumberOfBands = this.genres.slice();
genresByNumberOfBands.sort((a, b) => {
return b.bands.length - a.bands.length;