ref #5417 fix filters and view #97
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#97
Loading…
Reference in New Issue
No description provided.
Delete Branch "5417-fixCustomerPayments"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Se podría también mirar de pasarle un parámetro a useArrayDataStore, tipo showAll: false.
WIP ref #5417 fix filters and viewto ref #5417 fix filters and viewref #5417 fix filters and viewto WIP ref #5417 fix filters and viewNew commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
WIP ref #5417 fix filters and viewto ref #5417 fix filters and view@ -138,2 +138,2 @@
async function refresh() {
await fetch({ append: false });
async function refresh(showAll = true) {
if (showAll || (!showAll && Object.values(store.userParams).length))
!showAll sobraria no?
@ -48,3 +52,3 @@
isLoading.value = true;
await arrayData.addFilter({ params });
if (!props.showAll && !Object.values(store.userParams).length) store.data = [];
Por algún motivo, no se eliminan params.from ni params.to. Solo se elimina su valor, aunque se haga el delete, en la store.userParams si que se eliminan. @alexm
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
@ -53,3 +57,4 @@
async function reload() {
isLoading.value = true;
const params = Object.values(userParams.value).filter((param) => param);
He probado a copiar el objeto con JSON.parse pero no funciona en este caso. @alexm