fix proficiency filter to send array
This commit is contained in:
parent
66b8544b33
commit
c402d7a7e3
2 changed files with 4 additions and 4 deletions
|
|
@ -42,7 +42,7 @@ export interface CollectionArtifactListParams {
|
|||
limit?: number
|
||||
element?: number | number[]
|
||||
artifactId?: string
|
||||
proficiency?: number
|
||||
proficiency?: number | number[]
|
||||
rarity?: 'standard' | 'quirk'
|
||||
// Skill filters - each slot accepts array of modifier IDs (OR logic within slot, AND across slots)
|
||||
skill1?: number[]
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@
|
|||
// Build filters for query
|
||||
const queryFilters = $derived({
|
||||
element: elementFilters.length > 0 ? elementFilters : undefined,
|
||||
proficiency: proficiencyFilters.length > 0 ? proficiencyFilters[0] : undefined,
|
||||
proficiency: proficiencyFilters.length > 0 ? proficiencyFilters : undefined,
|
||||
rarity: rarityFilter !== 'all' ? rarityFilter : undefined,
|
||||
skill1: slot1Filters.length > 0 ? slot1Filters : undefined,
|
||||
skill2: slot2Filters.length > 0 ? slot2Filters : undefined,
|
||||
|
|
@ -355,9 +355,9 @@
|
|||
|
||||
.artifact-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 100px);
|
||||
grid-template-columns: repeat(5, 139px);
|
||||
justify-content: space-between;
|
||||
gap: $unit-4x;
|
||||
gap: $unit-4x $unit-2x;
|
||||
}
|
||||
|
||||
.artifact-list {
|
||||
|
|
|
|||
Loading…
Reference in a new issue