Skip to content

Commit 9b67a78

Browse files
committed
Fix index edit not shown behind resource action modal
1 parent 29a8199 commit 9b67a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/backpex/field.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ defmodule Backpex.Field do
321321
def index_editable_enabled?(field_options, assigns, default \\ false)
322322

323323
def index_editable_enabled?(_field_options, %{live_action: live_action}, _default)
324-
when live_action != :index do
324+
when live_action not in [:index, :resource_action] do
325325
false
326326
end
327327

0 commit comments

Comments
 (0)