Skip to content

Commit 4b4c7a7

Browse files
authored
Merge pull request #1353 from naymspace/feature/fix-index-edit-not-shown-resource-actions
Fix index edit not shown behind resource action modal
2 parents e076ddb + 9b67a78 commit 4b4c7a7

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)