fix some more values

This commit is contained in:
Andreas Zweili 2021-09-04 16:19:58 +02:00
parent 4405ba65c9
commit ce49f91d65
1 changed files with 4 additions and 4 deletions

View File

@ -35,9 +35,9 @@ export default {
}, },
props: ['users'], props: ['users'],
setup(props) { setup(props) {
var enteredSearchTerm = ref(''); const enteredSearchTerm = ref('');
const activeSearchTerm = ref(''); const activeSearchTerm = ref('');
var sorting = ref(null); const sorting = ref(null);
const availableUsers = computed(function() { const availableUsers = computed(function() {
let users = []; let users = [];
@ -76,10 +76,10 @@ export default {
}); });
function updateSearch(val) { function updateSearch(val) {
enteredSearchTerm = val; enteredSearchTerm.value = val;
} }
function sort(mode) { function sort(mode) {
sorting = mode; sorting.value = mode;
} }
return { return {