Skip to content

Commit 37f29e1

Browse files
authored
Merge pull request #114 from topcoder-platform/PROD-2332_incorrect-web-price
PROD-2332 Incorrect web design price -> dev
2 parents 353d680 + 62a0def commit 37f29e1

File tree

1 file changed

+0
-5
lines changed
  • src-ts/tools/work/work-lib/work-provider/work-functions/work-factory

1 file changed

+0
-5
lines changed

src-ts/tools/work/work-lib/work-provider/work-functions/work-factory/work.factory.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,6 @@ function getCost(challenge: Challenge, type: WorkType): number | undefined {
274274
const legacyDeviceCount: number | undefined = form?.basicInfo?.selectedDevice?.option?.length
275275
return priceConfig.getPrice(priceConfig, legacyPageCount, legacyDeviceCount)
276276

277-
case WorkType.design:
278-
const pageCount: number = getCountFromString(findMetadata(challenge, ChallengeMetadataName.pageCount)?.value)
279-
const deviceCount: number = getCountFromString(findMetadata(challenge, ChallengeMetadataName.deviceCount)?.value)
280-
return priceConfig.getPrice(priceConfig, pageCount, deviceCount)
281-
282277
default:
283278
return priceConfig.getPrice(priceConfig)
284279
}

0 commit comments

Comments
 (0)