@voplus/morpho-workspace 6.0.57 → 6.0.59
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/work/components/NewWorkErrorDialog/index.js +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.js.map +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.less +4 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +3 -3
- package/package.json +1 -1
@@ -39,7 +39,7 @@ const NewWorkErrorDialog = (props) => {
|
|
39
39
|
React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, onChange: (ids) => {
|
40
40
|
runInAction(() => (state.params.CauserIds = ids));
|
41
41
|
} })))),
|
42
|
-
React.createElement(Form.Item, { label: "Description of your error" },
|
42
|
+
React.createElement(Form.Item, { label: "Description of your error", className: "new-error-form-description" },
|
43
43
|
React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", onChange: (opt) => (state.params.Description =
|
44
44
|
opt.editor.dom.innerHTML === "<p><br></p>" ? "" : opt.editor.dom.innerHTML) }))))))));
|
45
45
|
async function onSubmit() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkErrorDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,cAAc,MAAM,+B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CAAC,CAAC;QAC1C,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;YACzC,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,IAAI,KAAK,CAAC,YAAY;YAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IACD,mBAAmB;IACnB,SAAS,QAAQ;QAChB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QACjD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
@@ -31,8 +31,8 @@ const WorkScheduleItem = (props) => {
|
|
31
31
|
React.createElement(FAIcon, { icon: faIdBadge, className: "margin-right-5" }), (_b = workSchedule.contact) === null || _b === void 0 ? void 0 :
|
32
32
|
_b.name)),
|
33
33
|
((_c = workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.work) === null || _c === void 0 ? void 0 : _c.id) ? (React.createElement(React.Fragment, null,
|
34
|
-
React.createElement(ColumnItemCol, { span: 8,
|
35
|
-
React.createElement(ColumnItemCol, { span: 3,
|
34
|
+
React.createElement(ColumnItemCol, { span: 8, label: "Work" }, (_d = workSchedule.work) === null || _d === void 0 ? void 0 : _d.name),
|
35
|
+
React.createElement(ColumnItemCol, { span: 3, label: "Work Status" }, (_e = workSchedule.work) === null || _e === void 0 ? void 0 : _e.status),
|
36
36
|
React.createElement(ColumnItemCol, { span: 3, align: "flex-end" },
|
37
37
|
React.createElement("div", { className: classnames("work-schedule-item-tool", { show: hover }), onClick: (e) => {
|
38
38
|
e.stopPropagation();
|
@@ -41,7 +41,7 @@ const WorkScheduleItem = (props) => {
|
|
41
41
|
React.createElement(ToolBar, { id: id, showMenu: false },
|
42
42
|
React.createElement(Open, { size: "middle", url: meta.getRoute(workSchedule) }),
|
43
43
|
React.createElement(WorkScheduleMenu, { id: id, closeAside: true })))))) : (React.createElement(React.Fragment, null,
|
44
|
-
React.createElement(ColumnItemCol, { span: 7,
|
44
|
+
React.createElement(ColumnItemCol, { span: 7, label: "Owner(s)" },
|
45
45
|
React.createElement("div", { className: "work-schedule-item-data-info text-sm text-gray-500 margin-right-15" }, (_f = workSchedule.owners) === null || _f === void 0 ? void 0 : _f.map((item) => (React.createElement("span", { key: item.id, className: "data-icon" },
|
46
46
|
React.createElement(UnitReference, { unit: item })))))),
|
47
47
|
React.createElement(ColumnItemCol, { span: 7, align: "flex-end" },
|