fix: Remove line causing errors (#76)

This commit is contained in:
George Anderson 2023-03-09 11:05:17 -08:00 committed by GitHub
parent 9f40de39e1
commit 9c55b18a2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -631,7 +631,6 @@ defmodule AshPhoenix.FilterForm do
@doc "Returns the list of available predicates for the given resource, which may be functions or operators."
def predicates(resource) do
resource
|> Ash.DataLayer.data_layer()
|> Ash.DataLayer.functions()
|> Enum.concat(Ash.Filter.builtin_functions())
|> Enum.filter(fn function ->