Skip to content

Commit

Permalink
Fix new import link (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
forsbergplustwo authored Sep 27, 2023
2 parents 842020e + 8e61ee2 commit 8c543ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@
# Ignore production credentials key
# Note: Dev and Test keys are included for easier setup.
/config/credentials/production.key

.env
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ GEM

PLATFORMS
arm64-darwin-21
arm64-darwin-22
x86_64-darwin-22
x86_64-linux

Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_empty_state.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
image: image_path("empty_state/ImportMinor.svg"),
) do |state| %>

<% state.with_primary_action(url: new_import_path) { "New import" } %>
<% state.with_primary_action(url: new_import_path, data: {turbo_frame: "_top"}) { "New import" } %>
<p><%= t(".description")%></p>

<% state.with_footer do %>
Expand Down

0 comments on commit 8c543ed

Please sign in to comment.