Added some settings

This commit is contained in:
Kode 2020-02-27 15:48:23 +00:00
parent 47378bb196
commit 39b22d9146
3 changed files with 18 additions and 4 deletions

View File

@ -526,7 +526,7 @@ div.create {
padding: 0 10px;
}
.bg-image {
filter: grayscale(100%) opacity(9%) ;
filter: grayscale(100%) opacity(4%) ;
position: absolute;
top: 50%;
left: 0;

View File

@ -55,7 +55,8 @@
:label="this.$t('show_search')"
option-value="value"
option-label="label"
v-model="showsearch"
v-model="search_on_dashboard"
map-options
></q-select>
<h6>Search Providers</h6>
@ -133,6 +134,16 @@ export default {
})
}
},
search_on_dashboard: {
get () {
return this.$store.state.app.settings.search_on_dashboard
},
set (val) {
this.$store.dispatch('app/saveSettings', {
search_on_dashboard: val.value
})
}
},
create: {
get () {
return this.$store.state.tiles.create
@ -156,7 +167,6 @@ export default {
value: 'no'
}
],
showsearch: null,
showsearch_options: [
{
label: this.$t('yes'),

View File

@ -15,7 +15,11 @@ export default function () {
background: null,
show_usernames: 'no',
language: 'en-US',
app_version: null
app_version: null,
search_on_dashboard: 'no',
search_provider: null,
default_tag: null,
default_public_page: null
}
}
}