Skip to content

Commit

Permalink
Okay, i'm just little baka
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Jan 3, 2025
1 parent f81959d commit f4a7b6d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 15 deletions.
2 changes: 2 additions & 0 deletions src/app/modules/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export const Search = ({
onChange={(n, _) => onChangeSort(n.value)}
value={options_sortir.find(i => i.value === sort)}
isSearchable={false}
instanceId='select-ebal-1'
/>
</div>

Expand All @@ -118,6 +119,7 @@ export const Search = ({
isSearchable={false}
onChange={(n, _) => onChangeTake(n.value)}
value={options_take.find(i => i.value === take)}
instanceId='select-ebal-2'
/>
</div>

Expand Down
15 changes: 0 additions & 15 deletions src/app/modules/components/SelectWrapper.tsx

This file was deleted.

3 changes: 3 additions & 0 deletions src/app/workshop/[id]/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ export default function Home({ data, referrer }: { data: Interfaces.Bandage, ref
classNamePrefix='react-select'
isSearchable={false}
onChange={(n, _) => setPose(n.value)}
instanceId='select-ebal-1'
formatOptionLabel={nick_value => nick_value.label} />
<button className={style.skin_load} onClick={() => client.current?.download()}>
<IconDownload
Expand Down Expand Up @@ -319,13 +320,15 @@ export default function Home({ data, referrer }: { data: Interfaces.Bandage, ref
className={`react-select-container`}
classNamePrefix="react-select"
isSearchable={false}
instanceId='select-ebal-2'
onChange={(n, _) => client.current?.setParams({ body_part: n.value })} />
<Select
options={layers}
defaultValue={layers[0]}
className={`react-select-container`}
classNamePrefix="react-select"
isSearchable={false}
instanceId='select-ebal-3'
onChange={(n, _) => client.current?.setParams({ layers: n.value })} />
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/app/workshop/[id]/components/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const EditElement = ({
className={`react-select-container`}
classNamePrefix="react-select"
isSearchable={false}
instanceId='select-ebal-1'
onChange={(n, _) => setAccessLevel(n.value)}
/>
<div className={style.check_notification} style={{
Expand Down
1 change: 1 addition & 0 deletions src/app/workshop/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export default function Home() {
classNamePrefix="react-select"
isSearchable={false}
onChange={(n, _) => setPose(n.value)}
instanceId='select-ebal-1'
formatOptionLabel={(nick_value) => nick_value.label}
/>
</div>
Expand Down

0 comments on commit f4a7b6d

Please sign in to comment.