add feedback blank filter option
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user