Skip to content

Commit

Permalink
Merge pull request #6 from araise-dev/feature/do-not-link-primary-wit…
Browse files Browse the repository at this point in the history
…h-subtables

feat(subtables): do not link to primary link
  • Loading branch information
tuxes3 authored Aug 7, 2023
2 parents 356634a + ae52661 commit 2a55ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/tailwind_2/_table.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
{% endif %}

{% if column.option('link_the_column_content') and table.option('primary_link') is not null %}
{% set columnLink = table.primaryLink(row) %}
{% set columnLink = table.primaryLink(row) and not subTables %}
{% if columnLink %}
<a class="whatwedo-utility-link" href="{{ columnLink }}">
{% endif %}
Expand Down

0 comments on commit 2a55ff6

Please sign in to comment.