Replace game with soundtrack terminology and add fuzzy/exact search
- Replace all 'game' references with 'soundtrack' throughout frontend (112 occurrences) - Add radio buttons for fuzzy/exact search in SearchModal - Fuzzy search is default and uses /findfuzzy endpoint - Exact search uses existing /find endpoint - Fix syntax errors in SyncProgressModal from previous refactoring Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -260,13 +260,13 @@ export default {
|
||||
url: `${window.__RUNTIME_CONFIG__.API_HOSTNAME}/music/info`,
|
||||
})
|
||||
.then((response) => {
|
||||
let gameInfoObject = {
|
||||
game: response.data.Game,
|
||||
let soundtrackInfoObject = {
|
||||
soundtrack: response.data.Soundtrack,
|
||||
track: response.data.Song.replace(".mp3", ""),
|
||||
songNo: response.data.SongNo,
|
||||
};
|
||||
this.$store.dispatch("setCurrentGame", gameInfoObject.game);
|
||||
this.$store.dispatch("setCurrentTrack", gameInfoObject.track);
|
||||
this.$store.dispatch("setCurrentSoundtrack", soundtrackInfoObject.soundtrack);
|
||||
this.$store.dispatch("setCurrentTrack", soundtrackInfoObject.track);
|
||||
resolve(false);
|
||||
})
|
||||
.catch(function(error) {
|
||||
|
||||
Reference in New Issue
Block a user