fix(tasks): don't use the filter for upcoming when one is set for the home page
continuous-integration/drone/push Build is passing Details

Resolves https://github.com/go-vikunja/frontend/issues/132
This commit is contained in:
kolaente 2023-11-17 19:08:08 +01:00
parent 3c1861eb6a
commit 7f279c98e1
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ async function loadPendingTasks(from: string, to: string) {
}
}
if (authStore.settings.frontendSettings.filterIdUsedOnOverview && typeof projectStore.projects[authStore.settings.frontendSettings.filterIdUsedOnOverview] !== 'undefined') {
if (showAll.value && authStore.settings.frontendSettings.filterIdUsedOnOverview && typeof projectStore.projects[authStore.settings.frontendSettings.filterIdUsedOnOverview] !== 'undefined') {
tasks.value = await taskStore.loadTasks(params, authStore.settings.frontendSettings.filterIdUsedOnOverview)
return
}