-
{t('logs.filter_status')}
-
- {STATUS_GROUPS.map((statusGroup) => {
- const active = filters.statusFilters.includes(statusGroup);
- const count = filters.statusCounts[statusGroup] ?? 0;
- return (
-
- );
- })}
-
-
-
{t('logs.filter_path')}
-
- {filters.pathOptions.length === 0 ? (
-
{t('logs.filter_path_empty')}
- ) : (
- filters.pathOptions.map(({ path, count }) => {
- const active = filters.pathFilters.includes(path);
+ {structuredFiltersExpanded && (
+
+
+
{t('logs.filter_method')}
+
+ {HTTP_METHODS.map((method) => {
+ const active = filters.methodFilters.includes(method);
+ const count = filters.methodCounts[method] ?? 0;
return (
);
- })
- )}
+ })}
+
-
-
-
+
+
{t('logs.filter_status')}
+
+ {STATUS_GROUPS.map((statusGroup) => {
+ const active = filters.statusFilters.includes(statusGroup);
+ const count = filters.statusCounts[statusGroup] ?? 0;
+ return (
+
+ );
+ })}
+
+
+
+
+
{t('logs.filter_path')}
+
+ {filters.pathOptions.length === 0 ? (
+ {t('logs.filter_path_empty')}
+ ) : (
+ filters.pathOptions.map(({ path, count }) => {
+ const active = filters.pathFilters.includes(path);
+ return (
+
+ );
+ })
+ )}
+
+
+
+
+