@paro.io/expert-shared-components 1.13.4 → 1.13.6
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.
|
@@ -94,7 +94,7 @@ const EscalationIssueCard = ({ issues, isExpert, openEscalationChat, showRespond
|
|
|
94
94
|
return react_1.default.createElement("div", null, "No issues.");
|
|
95
95
|
return (react_1.default.createElement("div", { className: "space-y-4" },
|
|
96
96
|
issues.map((issue) => {
|
|
97
|
-
var _a, _b, _c, _d, _e;
|
|
97
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
98
98
|
const project = issue.projectDetails && Array.isArray(issue.projectDetails) && issue.projectDetails.length > 0
|
|
99
99
|
? `${(_a = issue.projectDetails[0]) === null || _a === void 0 ? void 0 : _a.projectName}${issue.projectDetails.length > 1 ? ` +${issue.projectDetails.length - 1} more` : ''} `
|
|
100
100
|
: '';
|
|
@@ -107,7 +107,7 @@ const EscalationIssueCard = ({ issues, isExpert, openEscalationChat, showRespond
|
|
|
107
107
|
react_1.default.createElement("div", { className: "font-bold" }, issue.problem),
|
|
108
108
|
react_1.default.createElement(exports.CustomTag, { label: issue.severityLevel })),
|
|
109
109
|
react_1.default.createElement("div", { className: "text-xs text-gray-500 font-bold" },
|
|
110
|
-
isExpert ? (_b = issue === null || issue === void 0 ? void 0 : issue.client) === null || _b === void 0 ? void 0 : _b.name : (
|
|
110
|
+
isExpert ? (_c = (_b = issue === null || issue === void 0 ? void 0 : issue.client) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : "Client" : (_e = (_d = issue === null || issue === void 0 ? void 0 : issue.freelancer) === null || _d === void 0 ? void 0 : _d.name) !== null && _e !== void 0 ? _e : 'Expert',
|
|
111
111
|
" \u2022 ",
|
|
112
112
|
project,
|
|
113
113
|
" \u2022 Case #",
|
|
@@ -117,7 +117,7 @@ const EscalationIssueCard = ({ issues, isExpert, openEscalationChat, showRespond
|
|
|
117
117
|
react_1.default.createElement("div", { className: "flex items-center justify-between mb-2" },
|
|
118
118
|
react_1.default.createElement("div", { className: "text-sm text-gray-500" },
|
|
119
119
|
"Submitted by: ",
|
|
120
|
-
react_1.default.createElement("span", { className: "font-bold" }, ((
|
|
120
|
+
react_1.default.createElement("span", { className: "font-bold" }, ((_f = issue === null || issue === void 0 ? void 0 : issue.submittedByUser) === null || _f === void 0 ? void 0 : _f.firstName) + " " + ((_g = issue === null || issue === void 0 ? void 0 : issue.submittedByUser) === null || _g === void 0 ? void 0 : _g.lastName)),
|
|
121
121
|
(issue === null || issue === void 0 ? void 0 : issue.createdAt) && react_1.default.createElement(react_1.default.Fragment, null,
|
|
122
122
|
" \u2022 Submitted on: ",
|
|
123
123
|
react_1.default.createElement("span", { className: "font-bold" }, (0, dayjs_1.default)(issue === null || issue === void 0 ? void 0 : issue.createdAt).format("MM-DD-YYYY"))))),
|