mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
changed data structure
This commit is contained in:
parent
595320dd1b
commit
3d2c501377
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user