Revert "Extract stats data grid component"

This reverts commit 432f09cf6f.
This commit is contained in:
Claudio Ortolina
2024-10-30 17:26:49 +00:00
parent 4ce71cf4e2
commit 79eb5a8d37
5 changed files with 46 additions and 53 deletions
@@ -35,15 +35,15 @@ defmodule MusicLibraryWeb.StatsIndexTest do
collection
|> Enum.frequencies_by(& &1.format)
|> Enum.each(fn {format, count} ->
assert html =~ "#{count}\n"
assert html =~ "#{Record.format_long_label(format)}\n"
assert html =~ "\n#{count}\n"
assert html =~ "\n#{Record.format_long_label(format)}\n"
end)
collection
|> Enum.frequencies_by(& &1.type)
|> Enum.each(fn {type, count} ->
assert html =~ "#{count}\n"
assert html =~ "#{Record.type_long_label(type)}\n"
assert html =~ "\n#{count}\n"
assert html =~ "\n#{Record.type_long_label(type)}\n"
end)
end