mirror of
https://github.com/linuxserver/heimdalljs.git
synced 2026-02-20 05:12:24 +08:00
Added some settings
This commit is contained in:
parent
47378bb196
commit
39b22d9146
@ -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;
|
||||
|
||||
@ -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'),
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user