magneto365.ui 2.58.0 → 2.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,7 @@ export interface IJobDetailsDrawer {
78
78
  /**
79
79
  * Props for the fraud card job.
80
80
  */
81
- fraudCardJobProps: IFraudCardJob;
81
+ fraudCardJobProps?: IFraudCardJob;
82
82
  /**
83
83
  * Props for show actions buttons or alert
84
84
  */
@@ -87,7 +87,7 @@ export interface IMobileJobDetailsDrawer {
87
87
  /**
88
88
  * Props for the fraud card job.
89
89
  */
90
- fraudCardJobProps: IFraudCardJob;
90
+ fraudCardJobProps?: IFraudCardJob;
91
91
  /**
92
92
  * Props for show actions buttons or alert
93
93
  */
package/dist/esm/index.js CHANGED
@@ -5458,7 +5458,7 @@ var Component$T = function (_a) {
5458
5458
  jobVideo && React.createElement(JobVideo, __assign({}, jobVideo, { loadVideo: loadVideo, setLoadVideo: setLoadVideo })),
5459
5459
  React.createElement(JobDetailCard, __assign({}, jobDetailCardProps)),
5460
5460
  React.createElement(JobSkillsCard, __assign({}, jobSkillsCardProps)),
5461
- React.createElement(FraudCardJob, __assign({}, fraudCardJobProps)),
5461
+ fraudCardJobProps && React.createElement(FraudCardJob, __assign({}, fraudCardJobProps)),
5462
5462
  React.createElement(JobApplyCard, __assign({}, jobApplyCardProps)),
5463
5463
  React.createElement(JobFooterCard, __assign({ iconList: iconFooterList }, jobFooterCardProps)),
5464
5464
  similarJobsProps ? React.createElement(SimilarJobs, __assign({}, similarJobsProps)) : null))),
@@ -6014,7 +6014,7 @@ var Component$K = function (_a) {
6014
6014
  jobVideo && React.createElement(JobVideo, __assign({}, jobVideo, { loadVideo: loadVideo, setLoadVideo: setLoadVideo })),
6015
6015
  React.createElement(JobDetailCard, __assign({}, jobDetailCardProps)),
6016
6016
  jobSkillsCardProps && React.createElement(JobSkillsCard, __assign({}, jobSkillsCardProps)),
6017
- React.createElement(FraudCardJob, __assign({}, fraudCardJobProps)),
6017
+ fraudCardJobProps && React.createElement(FraudCardJob, __assign({}, fraudCardJobProps)),
6018
6018
  React.createElement(JobApplyCard, __assign({}, jobApplyCardProps, { isApplied: isApplied })),
6019
6019
  React.createElement(JobFooterCard, __assign({ iconList: iconFooterList }, jobFooterCardProps)),
6020
6020
  similarJobsProps ? React.createElement(SimilarJobs, __assign({}, similarJobsProps)) : null));