Skip to content

Commit

Permalink
fix: PA artwork sequence top표시안됨 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
40food committed Dec 11, 2024
1 parent 44bf725 commit fc2beea
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ const ArtworkSequence = ({ type, data, isLoading, error, refetch }: ArtworkSeque
) : onEdit ? (
<DragDropContext onDragEnd={onDragEnd}>
{type === 'main' //main sequence면 top 고정
? realData
?.filter((i) => i.projectType === 'top')
? data?.filter((i) => i.projectType === 'top')
.map((i) => (
<div style={{ marginBottom: '3px' }}>
<ArtworkSequenceBox type={'top'} artworkData={i} />
Expand Down Expand Up @@ -183,8 +182,7 @@ const ArtworkSequence = ({ type, data, isLoading, error, refetch }: ArtworkSeque
<div>
{/*edit 모드 아니면 일반 리스트*/}
{type === 'main' //main sequence면 top 고정
? realData
?.filter((i) => i.projectType === 'top')
? data?.filter((i) => i.projectType === 'top')
.map((i) => (
<div style={{ marginBottom: '3px' }}>
<ArtworkSequenceBox type={'top'} artworkData={i} />
Expand Down

0 comments on commit fc2beea

Please sign in to comment.