Skip to content

Commit a8fd4fc

Browse files
RobertJoonaszoldar
authored andcommitted
fix imported warning
1 parent 8178647 commit a8fd4fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/plausible_web/live/components/dashboard/imported_data_warnings.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ defmodule PlausibleWeb.Components.Dashboard.ImportedDataWarnings do
22
@moduledoc false
33

44
use PlausibleWeb, :component
5-
alias Phoenix.LiveView.AsyncResult
65
alias Plausible.Stats.QueryResult
76

87
def unsupported_filters(assigns) do
98
show? =
109
case assigns.query_result do
11-
%AsyncResult{result: %QueryResult{meta: meta}} ->
10+
%QueryResult{meta: meta} ->
1211
meta[:imports_skip_reason] == :unsupported_query
1312

1413
_ ->

0 commit comments

Comments
 (0)