feat(reports): improve reportview and allow removing content + resolve report automatically

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-08-31 14:37:54 +02:00
parent f2ac3e2e5d
commit b105c508c0
7 changed files with 230 additions and 94 deletions

View File

@@ -67,7 +67,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Report do
{:ok, _, %Report{} = report} ->
{:ok, report}
error ->
_error ->
{:error, dgettext("errors", "Error while saving report")}
end
end