Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
remove refresh on clicking of provisional domain
Browse files Browse the repository at this point in the history
fixes:

Clicking on a provisional application seems to attempt a load and refreshes the page. Clicking should just not do anything, like provisional domains
  • Loading branch information
reesericci authored Jan 24, 2024
1 parent f7298a2 commit 7983d1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="<%= developers_application_path(application) if !application.provisional? %>" class="flex flex-col p-4 items-start gap-[1rem] bg-text text-black shadow-md rounded-2xl h-full text-ellipsis overflow-clip card">
<a <% if !application.provisional? %> href="<%= developers_application_path(application) %>" <% end %> class="flex flex-col p-4 items-start gap-[1rem] bg-text text-black shadow-md rounded-2xl h-full text-ellipsis overflow-clip card">
<div style="display: flex; align-items: center; gap: 1rem;">
<h2 class="leading-none text-3 font-body text-ellipsis">
<%= application.name %>
Expand All @@ -14,4 +14,4 @@
<% end %>
</div>
</div>
</a>
</a>

0 comments on commit 7983d1d

Please sign in to comment.