removes the shared storage for the searchbar and saves the data local in the searchbar again

This commit is contained in:
SimonGschnell
2024-07-02 10:28:35 +02:00
parent ff0f2320e1
commit 57d3d3af13
2 changed files with 5 additions and 13 deletions
+5 -3
View File
@@ -2,7 +2,6 @@ import person from "./person.js";
import raum from "./raum.js";
import employee from "./employee.js";
import organisationunit from "./organisationunit.js";
import {searchSettings, searchresult} from "./sharedSettings.js";
export default {
props: [ "searchoptions", "searchfunction","selectedtypes" ],
@@ -12,8 +11,11 @@ export default {
searchtimer: null,
hidetimer: null,
showsettings: false,
searchsettings: searchSettings,
searchresult: searchresult,
searchsettings: {
searchstr: '',
types: [],
},
searchresult: [],
showresult: false,
searching: false,
error: null,
@@ -1,10 +0,0 @@
let searchSettings = Vue.reactive({
searchstr: '',
types: [],
});
let searchresult = Vue.reactive([]);
export {searchSettings, searchresult};