Skip to content

Commit

Permalink
no suggestion for installed add-ons
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
  • Loading branch information
mherwege committed Dec 18, 2023
1 parent 813fb72 commit bca23f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export default {
return Object.keys(this.addons).flatMap((k) => this.addons[k])
},
suggestedAddons () {
return Object.keys(this.addons).flatMap((k) => this.addons[k]).filter((a) => this.suggestions.some((s) => s.id === a.id))
return Object.keys(this.addons).flatMap((k) => this.addons[k]).filter((a) => !a.isInstalled && this.suggestions.some((s) => s.id === a.id))
},
unsuggestedAddons () {
return Object.keys(this.addons).flatMap((k) => this.addons[k]).filter((a) => !this.suggestedAddons.includes(a))
Expand Down

0 comments on commit bca23f4

Please sign in to comment.