fix some more values
This commit is contained in:
parent
4405ba65c9
commit
ce49f91d65
|
@ -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 {
|
||||||
|
|
Reference in New Issue