+
+
Error Reports
+
+
+
+ {/* Submit Form */}
+ {showForm && (
+
+ )}
+
+ {/* Reports List */}
+ {loading ? (
+
Loading...
+ ) : reports.length === 0 ? (
+
No error reports yet. Be the first to report one!
+ ) : (
+
+ {reports.map(r => (
+
+
+
+
+
+ {r.status}
+
+
+ {r.category}
+
+ by {r.player_name}
+ {new Date(r.created_at).toLocaleString()}
+
+
{r.title}
+
{r.description}
+ {r.page_url &&
Page: {r.page_url}
}
+ {r.resolved_by &&
Resolved by {r.resolved_by}{r.resolved_note ? `: ${r.resolved_note}` : ''}
}
+
+
+ {isGM && r.status !== 'resolved' && (
+
+ )}
+ {isGM && (
+
+ )}
+
+
+
+ ))}
+
+ )}
+
+ );
+}
\ No newline at end of file