Skip to content

Commit

Permalink
Merge pull request #60 from boostcampaitech3/feat/47
Browse files Browse the repository at this point in the history
[Feat] Modify text in DownloadPanel
  • Loading branch information
sooya233 authored Jun 5, 2022
2 parents 6545f3e + 159b9d4 commit 94725f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions serving/frontend/src/components/DownloadPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import axios from 'axios';
const DownloadPanel = ({URL, response, checkedList, checkAll, onCheckAll}) => {

const people_img = [...new Set(response.shorts.map(short => short[0]))];
console.log(people_img);

const renderPeople = (URL, response) => {
const people_imgs = [];
Expand Down Expand Up @@ -60,7 +59,7 @@ const DownloadPanel = ({URL, response, checkedList, checkAll, onCheckAll}) => {
<div style={{textAlign: "left", fontSize: "17px", padding: "3px"}}>
<div style={{marginBottom: "20px"}}>
<StyledTitle>
영상 개수
쇼츠 개수
</StyledTitle>
<div style={{padding: "5px"}}>
{`${response.shorts.length}개`}
Expand All @@ -80,7 +79,7 @@ const DownloadPanel = ({URL, response, checkedList, checkAll, onCheckAll}) => {
<StyledButton onClick={onCheckAll}>
{checkAll ? '전체 선택 해제' : '전체 선택'}
</StyledButton>
<StyledButton onClick={handleDownload}>선택한 영상 다운로드</StyledButton>
<StyledButton onClick={handleDownload}>선택한 쇼츠 다운로드</StyledButton>
</StyledPanel>
);
};
Expand Down

0 comments on commit 94725f1

Please sign in to comment.