Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Bulat <obulat@gmail.com>
  • Loading branch information
obulat committed Nov 7, 2023
1 parent 7b70ecf commit cdb0a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/VAudioTrack/VAudioControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default defineComponent({
const connections = computed(() => {
return props.layout === "row" && props.size === "small"
? []
: layoutConnectionsMap[props.layout]
: [...layoutConnectionsMap[props.layout]]
})
/** Convert the `play-pause` sizes to `VIconButton` sizes */
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/VAudioTrack/VPlayPause.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default defineComponent({
const buttonProps = computed(() => {
const variant = "plain--avoid" as ButtonVariant
return { variant, connections: layoutConnectionsMap[props.layout] }
return { variant, connections: [...layoutConnectionsMap[props.layout]] }
})
const handleMouseDown = (event: MouseEvent) => {
Expand Down

0 comments on commit cdb0a46

Please sign in to comment.