push not necessary

This commit is contained in:
Drew Ansbacher
2021-07-16 12:56:47 -06:00
committed by Aiden McClelland
parent 31c4162523
commit dd223b0dbc

View File

@@ -53,7 +53,6 @@ export class MarketplaceListPage {
this.getPkgs(),
])
this.data = data
this.data.categories.push(this.category)
this.data.categories.unshift('updates')
if (data.categories.includes(this.category)) {
data.categories = data.categories.filter(cat => this.category !== cat)