Skip to content

Commit 6761c88

Browse files
committed
add optional description for filter
1 parent 56161a1 commit 6761c88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/src/components/shared/MultipleFilters.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<template>
22
<!-- eslint-disable max-len -->
33
<div class='mx-auto max-w-md mb-4'>
4-
<h1 class="text-xl lg text-purple-matcha capitalize text-left mb-4">{{ name }}</h1>
4+
<h1 class="text-xl lg text-purple-matcha capitalize text-left">{{ name }}</h1>
5+
<h1 class="text-md text-left opacity-50 mb-4">{{ info }}</h1>
56
<div class="h-48 w-auto overflow-scroll rounded-md border border-gray-300 bg-white">
67
<h1 v-for="(option, index) in options" :key="option + index + option"
78
v-bind:class="{'sort-dropdown-option': true, 'text-lg': true, 'border-b': index !== options.length - 1, 'capitalize': true,
@@ -15,7 +16,7 @@
1516

1617
<script>
1718
export default {
18-
props: ['options', 'name', 'position'],
19+
props: ['options', 'name', 'info', 'position'],
1920
data: () => ({
2021
closed: true,
2122
selectedFilters: [],

0 commit comments

Comments
 (0)