diff --git a/src/css/app.scss b/src/css/app.scss
index a70c252..16bdfb2 100644
--- a/src/css/app.scss
+++ b/src/css/app.scss
@@ -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;
diff --git a/src/pages/application/Settings.vue b/src/pages/application/Settings.vue
index 21c3a48..c5dbffa 100644
--- a/src/pages/application/Settings.vue
+++ b/src/pages/application/Settings.vue
@@ -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
>
Search Providers
@@ -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'),
diff --git a/src/store/app/state.js b/src/store/app/state.js
index 2e4837f..ae3afb5 100644
--- a/src/store/app/state.js
+++ b/src/store/app/state.js
@@ -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
}
}
}