mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix(marketplace): loosen type in categories component (#1918)
This commit is contained in:
committed by
Aiden McClelland
parent
0fc546962e
commit
affab384cf
@@ -17,13 +17,13 @@ import {
|
||||
})
|
||||
export class CategoriesComponent {
|
||||
@Input()
|
||||
categories!: Set<string>
|
||||
categories: readonly string[] = []
|
||||
|
||||
@Input()
|
||||
category!: string
|
||||
category = ''
|
||||
|
||||
@Input()
|
||||
updatesAvailable!: number
|
||||
updatesAvailable = 0
|
||||
|
||||
@Output()
|
||||
readonly categoryChange = new EventEmitter<string>()
|
||||
|
||||
@@ -23,7 +23,7 @@ export class MarketplaceListPage {
|
||||
info.categories.forEach(c => categories.add(c))
|
||||
categories.add('all')
|
||||
|
||||
return { categories, packages }
|
||||
return { categories: Array.from(categories), packages }
|
||||
}),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user