mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
make optional
This commit is contained in:
parent
27ba3627d4
commit
2b5e2867a8
@ -42,7 +42,7 @@ export default function PricingPanel({
|
|||||||
label: string;
|
label: string;
|
||||||
title: string;
|
title: string;
|
||||||
visible: boolean;
|
visible: boolean;
|
||||||
disabled: boolean | undefined;
|
disabled?: boolean | undefined;
|
||||||
}): ReactNode {
|
}): ReactNode {
|
||||||
const is_disabled = disabled === undefined ? false : disabled;
|
const is_disabled = disabled === undefined ? false : disabled;
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user