Skip to content

Commit

Permalink
퀘스트에 폐업 추정 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeniuus committed May 25, 2024
1 parent 01c9d1c commit ec2bfc8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ export default function BuildingDetailSheet({ building, questId, visible, close
<col width="72px" />
<col width="72px" />
<col width="72px" />
<col width="72px" />
</colgroup>
<S.HeaderRow>
<S.HeaderCell style={{ textAlign: "left" }}>업체명</S.HeaderCell>
<S.HeaderCell>정복</S.HeaderCell>
<S.HeaderCell>폐업 추정</S.HeaderCell>
<S.HeaderCell>폐업</S.HeaderCell>
<S.HeaderCell>접근불가</S.HeaderCell>
</S.HeaderRow>
Expand Down
2 changes: 2 additions & 0 deletions app/modals/BuildingDetailSheet/BuildingDetailSheet.mobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ export default function BuildingDetailSheet({ building, questId, visible, close
<col width="72px" />
<col width="72px" />
<col width="72px" />
<col width="72px" />
</colgroup>
<S.HeaderRow>
<S.HeaderCell style={{ textAlign: "left" }}>업체명</S.HeaderCell>
<S.HeaderCell>정복</S.HeaderCell>
<S.HeaderCell>폐업 추정</S.HeaderCell>
<S.HeaderCell>폐업</S.HeaderCell>
<S.HeaderCell>접근불가</S.HeaderCell>
</S.HeaderRow>
Expand Down
7 changes: 7 additions & 0 deletions app/modals/BuildingDetailSheet/PlaceRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ export default function PlaceRow({ place, questId }: Props) {
style={isBadPlace ? { backgroundColor: "#d4d7d9", borderColor: "#d4d7d9" } : {}}
/>
</S.Cell>
<S.Cell>
<Checkbox
id={place.placeId}
checked={place.isClosedExpected}
disabled
/>
</S.Cell>
<S.Cell>
<Controller
name="isClosed"
Expand Down
1 change: 1 addition & 0 deletions lib/models/quest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface QuestBuilding {
export interface QuestPlace {
buildingId: string
isClosed: boolean
isClosedExpected: boolean
isConquered: boolean
isNotAccessible: boolean
location: LatLng
Expand Down

0 comments on commit ec2bfc8

Please sign in to comment.