Skip to content

Commit

Permalink
Apply filter on catalog import
Browse files Browse the repository at this point in the history
should help with the confusion on importing matrices and mappings
  • Loading branch information
ab-smith committed Jan 7, 2025
1 parent d590179 commit 369259d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
{/if}
{:else if URLModel === 'risk-matrices'}
<a
href="/libraries"
href="/libraries?objectType=risk_matrix"
class="inline-block p-3 btn-mini-primary w-12 focus:relative"
data-testid="add-button"
title={m.importMatrices()}><i class="fa-solid fa-file-import mr-2" /></a
Expand All @@ -145,7 +145,7 @@
>
{:else if URLModel === 'requirement-mapping-sets'}
<a
href="/libraries"
href="/libraries?objectType=requirement_mapping_set"
class="inline-block p-3 btn-mini-primary w-12 focus:relative"
data-testid="add-button"
title={m.importMappings()}><i class="fa-solid fa-file-import mr-2" /></a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
{/if}
{:else if URLModel === 'risk-matrices'}
<a
href="/libraries"
href="/libraries?objectType=risk_matrix"
class="inline-block p-3 text-gray-50 bg-pink-500 hover:bg-pink-400 w-12 focus:relative"
data-testid="add-button"
title={m.importMatrices()}><i class="fa-solid fa-file-import mr-2" /></a
Expand All @@ -89,7 +89,7 @@
>
{:else if URLModel === 'requirement-mapping-sets'}
<a
href="/libraries"
href="/libraries?objectType=requirement_mapping_set"
class="inline-block p-3 text-gray-50 bg-pink-500 hover:bg-pink-400 w-12 focus:relative"
data-testid="add-button"
title={m.importMappings()}><i class="fa-solid fa-file-import mr-2" /></a
Expand Down

0 comments on commit 369259d

Please sign in to comment.