Skip to content

Commit

Permalink
[tasks] fix synchronization of selected preview version
Browse files Browse the repository at this point in the history
Wrong migration code to Vue 3
  • Loading branch information
NicoPennec committed Dec 20, 2024
1 parent 184d149 commit d467391
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/previews/PreviewPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
is-reversed
is-preview
thin
:value="currentPreview?.id"
:model-value="currentPreview?.id"
@update:model-value="changeCurrentPreviewFile"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/sides/TaskInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
:options="previewOptions"
is-preview
thin
:value="previewOptions[currentPreviewIndex]?.value"
:model-value="previewOptions[currentPreviewIndex]?.value"
@update:model-value="onPreviewChanged"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/ComboboxSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default {
this.resetOptions()
},
value() {
modelValue() {
this.selectedOption = this.options.find(o => o.value === this.modelValue)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/ComboboxStyled.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default {
}
},
value() {
modelValue() {
this.selectedOption = this.options.find(o => o.value === this.modelValue)
}
}
Expand Down

0 comments on commit d467391

Please sign in to comment.