fix
This commit is contained in:
parent
da8b24135b
commit
116ad9595a
|
@ -64,6 +64,7 @@ const q = ref<string | null>(null);
|
||||||
|
|
||||||
watch(order, () => {
|
watch(order, () => {
|
||||||
props.paginator.order.value = order.value;
|
props.paginator.order.value = order.value;
|
||||||
|
props.paginator.initialDirection = order.value === 'oldest' ? 'newer' : 'older';
|
||||||
props.paginator.reload();
|
props.paginator.reload();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue