Merge pull request #1575 from useautumn/cursor/fix-subscription-detail-item-duplication
fix: resolve subscription detail item duplication & interval count input
This commit is contained in:
@@ -48,6 +48,7 @@ export const CustomiseIntervalPopover = ({
|
||||
sideOffset={-1}
|
||||
onOpenAutoFocus={(e) => e.preventDefault()}
|
||||
onCloseAutoFocus={(e) => e.preventDefault()}
|
||||
onKeyDown={(e) => e.stopPropagation()}
|
||||
>
|
||||
<div className="mb-2">
|
||||
<FieldLabel>Interval Count</FieldLabel>
|
||||
|
||||
@@ -54,7 +54,6 @@ export const SelectBillingCycle = ({
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
{Object.values(BillingInterval)
|
||||
// .filter((interval) => interval !== BillingInterval.OneOff)
|
||||
.filter((interval) => {
|
||||
if (filterOneOff) {
|
||||
return interval !== BillingInterval.OneOff;
|
||||
|
||||
Reference in New Issue
Block a user