We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 360b024 commit 16a73dbCopy full SHA for 16a73db
src/components/Discounts/DiscountDetailRow.tsx
@@ -46,7 +46,7 @@ const DiscountDetailRow = ({
46
}: Props) => {
47
const history = useHistory();
48
const [canBePublished, setCanBePublished] = useState(
49
- row.original.lastBucketCodeLoadStatus !== undefined
+ row.original.lastBucketCodeLoadStatus
50
? row.original.lastBucketCodeLoadStatus === BucketCodeLoadStatus.Finished
51
: true
52
);
0 commit comments