Skip to content

Commit

Permalink
fix: reset filters after last single validation #81
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab committed Apr 25, 2024
1 parent f8e55a4 commit 61e2791
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/[project]/changes_logs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ async function handleAccept(identifier?: { id: number, objtype: ObjType }) {
},
)
removeLogs(objectIds)
resetFilters()
if (!identifier || !logsWithFilter.value.length) {
resetFilters()
}
}
catch (err: any) {
ElMessage.error(err.message)
Expand Down

0 comments on commit 61e2791

Please sign in to comment.