diff --git a/components/SearchFilter/index.scss b/components/SearchFilter/index.scss index 440c9532..1002d056 100644 --- a/components/SearchFilter/index.scss +++ b/components/SearchFilter/index.scss @@ -12,6 +12,7 @@ button.DropdownLabel { padding: $unit ($unit * 1.5) $unit $unit-2x; div { + align-items: center; display: flex; gap: $unit-half; } diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 61a201a1..46116f2b 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -69,6 +69,7 @@ "byline": "{{partyName}} by {{username}}" }, "rarities": { + "r": "R", "sr": "SR", "ssr": "SSR" }, diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json index 0bfda17b..e9829d0f 100644 --- a/public/locales/ja/common.json +++ b/public/locales/ja/common.json @@ -81,6 +81,7 @@ "byline": "{{username}}さんからの{{partyName}}" }, "rarities": { + "r": "R", "sr": "SR", "ssr": "SSR" }, diff --git a/utils/emptyStates.tsx b/utils/emptyStates.tsx index f0e3270e..f4fb78b0 100644 --- a/utils/emptyStates.tsx +++ b/utils/emptyStates.tsx @@ -1,4 +1,8 @@ export const emptyRarityState: RarityState = { + r: { + id: 1, + checked: false, + }, sr: { id: 2, checked: false, diff --git a/utils/stateValues.tsx b/utils/stateValues.tsx index 630fbd24..39f86cef 100644 --- a/utils/stateValues.tsx +++ b/utils/stateValues.tsx @@ -1,4 +1,4 @@ -export const rarities = ['sr', 'ssr'] +export const rarities = ['r', 'sr', 'ssr'] export const elements = [ 'null',