add feedback blank filter option

This commit is contained in:
2026-01-03 19:23:30 +01:00
parent dd063c568d
commit a197c002f4
7 changed files with 36 additions and 15 deletions

View File

@@ -10,8 +10,8 @@ export type Feedback = Feedbacks[0];
export const feedbacks = writable<Feedbacks>([]);
// actions
export async function fetchFeedbacks(reporter?: string | null, reported?: string | null) {
const { data, error } = await actions.feedback.feedbacks({ reporter: reporter, reported: reported });
export async function fetchFeedbacks(includeBlanks: boolean) {
const { data, error } = await actions.feedback.feedbacks({ includeBlanks: includeBlanks });
if (error) {
actionErrorPopup(error);
return;