mirror of
https://github.com/romancm/gamebrary
synced 2024-12-18 15:23:14 +00:00
fix issue with platforms dropdown
This commit is contained in:
parent
c16dd74f8c
commit
9b8f00a2da
1 changed files with 2 additions and 6 deletions
|
@ -1,17 +1,13 @@
|
||||||
<template lang="html">
|
<template lang="html">
|
||||||
<div class="platform-picker">
|
<div class="platform-picker">
|
||||||
<b-dropdown
|
<b-dropdown
|
||||||
|
:text="dropdownLabel"
|
||||||
menu-class="platforms-dropdown"
|
menu-class="platforms-dropdown"
|
||||||
class="platforms-dropdown"
|
|
||||||
boundary="viewport"
|
boundary="viewport"
|
||||||
>
|
>
|
||||||
<template v-slot:button-content>
|
|
||||||
{{ dropdownLabel }}
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<b-dropdown-item
|
<b-dropdown-item
|
||||||
v-for="platform in filteredPlatforms"
|
v-for="platform in filteredPlatforms"
|
||||||
:key="platform"
|
:key="platform.id"
|
||||||
:active="value.includes(platform.id)"
|
:active="value.includes(platform.id)"
|
||||||
@click="handleClick(platform.id)"
|
@click="handleClick(platform.id)"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue