mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-10 10:57:52 +00:00
make optional
This commit is contained in:
1 file changed
+1
-1
@@ -42,7 +42,7 @@ export default function PricingPanel({
|
||||
label: string;
|
||||
title: string;
|
||||
visible: boolean;
|
||||
disabled: boolean | undefined;
|
||||
disabled?: boolean | undefined;
|
||||
}): ReactNode {
|
||||
const is_disabled = disabled === undefined ? false : disabled;
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user