Skip to content

Commit

Permalink
fix: hide show links button when not needed
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Mahjoubi <[email protected]>
  • Loading branch information
hamza221 committed Aug 27, 2024
1 parent 3c09bde commit 9351f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PhishingWarning.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default {
return this.phishingData.filter(check => check.isPhishing)
},
linkWarning() {
return this.phishingData.find(check => check.type === 'Link')
return this.phishingData.find(check => check.type === 'Link' && check.isPhishing)
},
},

Expand Down

0 comments on commit 9351f0f

Please sign in to comment.