changed data structure

This commit is contained in:
Moriz Wahl 2019-11-27 10:17:39 +01:00
parent 595320dd1b
commit 3d2c501377

View File

@ -37,8 +37,10 @@
@click.capture.native="isOpen = true" @click.capture.native="isOpen = true"
> >
<template slot="option" slot-scope="{ option }"> <template slot="option" slot-scope="{ option }">
<ds-flex v-if="option.firstType" class="search-option-heading"> <ds-flex v-if="option.heading" class="search-option-heading">
<ds-text>{{ option.searchType }}</ds-text> <ds-flex-item class="search-option-heading">
<ds-text>{{ option.heading }}</ds-text>
</ds-flex-item>
</ds-flex> </ds-flex>
<ds-flex v-if="option.searchType === 'Contributions'"> <ds-flex v-if="option.searchType === 'Contributions'">
<ds-flex-item class="search-option-label"> <ds-flex-item class="search-option-label">
@ -274,8 +276,8 @@ export default {
width: 100%; width: 100%;
} }
.search-option-heading { .search-option-heading {
font-weight: bold; font-weight: bold;
margin-bottom: 1em; cursor: default;
} }
} }
</style> </style>