Skip to content

Commit 203263f

Browse files
committed
only show for fixed discounts
1 parent 465f496 commit 203263f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/admin/dashboard/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ export const EditPromotionDetailsForm = ({
172172
}}
173173
/>
174174

175-
{promotion.type !== "buyget" ? (
175+
{promotion?.type === "standard" &&
176+
promotion.application_method?.type === "fixed" ? (
176177
<SwitchBox
177178
control={form.control}
178179
name="is_tax_inclusive"

0 commit comments

Comments
 (0)