Commit 49446ea 1 parent a2730f7 commit 49446ea Copy full SHA for 49446ea
File tree 1 file changed +4
-1
lines changed
app/components/avo/media_library
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 51
51
< div class ="flex-2 w-full sm:flex sm:items-center sm:justify-between space-y-2 sm:space-y-0 text-center sm:text-left pagy-gem-version-<%= helpers . pagy_major_version %> ">
52
52
< div class ="text-sm text-slate-600 mr-4 "> <%== helpers . pagy_info @pagy %> </ div >
53
53
<% if @pagy . pages > 1 %>
54
- <%== helpers . pagy_nav ( @pagy , anchor_string : "data-turbo-frame=\" #{ @turbo_frame } \" " ) %>
54
+ <%# xanchor_string is not valid key word argument and it breaks when require "pagy/extras/calendar" %>
55
+ <%# https://github.com/ddnexus/pagy/blob/d70e443872a5b18da4e482454b3c8b4a1c86cb6b/gem/lib/pagy/extras/calendar.rb#L47 %>
56
+ <%# == helpers.pagy_nav(@pagy, xanchor_string: "data-turbo-frame=\"#{@turbo_frame}\"") %>
57
+ <%== helpers . pagy_nav ( @pagy ) %>
55
58
<% end %>
56
59
</ div >
57
60
</ div >
You can’t perform that action at this time.
0 commit comments