Skip to content

Commit

Permalink
Fix ManualTag on new config
Browse files Browse the repository at this point in the history
  • Loading branch information
Marekkon5 committed Aug 24, 2023
1 parent 80b712b commit ffaacab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions client/src/components/ManualTag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,12 @@ function start() {
// Generate config
let config = JSON.parse(JSON.stringify($1t.config.value));
config.path = '';
config.spotify.clientId = $1t.spotify.value.clientId;
config.spotify.clientSecret = $1t.spotify.value.clientSecret;
if ($1t.spotify.value.clientId && $1t.spotify.value.clientSecret) {
config.spotify = {
clientId: $1t.spotify.value.clientId,
clientSecret: $1t.spotify.value.clientSecret,
}
}
cachedConfig = config;
// Start
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/QuickTagFileBrowser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class='q-mt-sm'>

<!-- Filter -->
<q-input dense filled label='Filter' class='q-mb-sm' @input='applyFilter' v-model='filter'></q-input>
<q-input dense filled label='Filter' class='q-mb-sm' @update:model-value='applyFilter' v-model='filter'></q-input>

<!-- Parent -->
<div class='q-mb-sm clickable te-file' @click='loadFiles("..")'>
Expand Down

0 comments on commit ffaacab

Please sign in to comment.