eli-video-interview 1.2.42-alpha.25 → 1.2.42-alpha.26
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.
|
@@ -31,7 +31,7 @@ import { Button, confirm, EditIcon, FormItem, IconButton, Typography } from 'fbm
|
|
|
31
31
|
import { Box, Stack } from 'fbm-ui/lib/mui';
|
|
32
32
|
import { useCallback, useEffect, useState } from 'react';
|
|
33
33
|
var Evaluate = function (_a) {
|
|
34
|
-
var title = _a.title, evaluations = _a.evaluations, token = _a.token, field = _a.field, _b = _a.mode, mode = _b === void 0 ? 'show' : _b, _c = _a.canEdit, canEdit = _c === void 0 ? '
|
|
34
|
+
var title = _a.title, evaluations = _a.evaluations, token = _a.token, field = _a.field, _b = _a.mode, mode = _b === void 0 ? 'show' : _b, _c = _a.canEdit, canEdit = _c === void 0 ? 'false' : _c;
|
|
35
35
|
var _d = __read(useState(evaluations), 2), content = _d[0], setContent = _d[1];
|
|
36
36
|
var _e = __read(useState('show'), 2), internalMode = _e[0], setInternalMode = _e[1];
|
|
37
37
|
var handleChange = useCallback(function (e) {
|
|
@@ -33,7 +33,7 @@ var fbm_ui_1 = require("fbm-ui");
|
|
|
33
33
|
var mui_1 = require("fbm-ui/lib/mui");
|
|
34
34
|
var react_1 = require("react");
|
|
35
35
|
var Evaluate = function (_a) {
|
|
36
|
-
var title = _a.title, evaluations = _a.evaluations, token = _a.token, field = _a.field, _b = _a.mode, mode = _b === void 0 ? 'show' : _b, _c = _a.canEdit, canEdit = _c === void 0 ? '
|
|
36
|
+
var title = _a.title, evaluations = _a.evaluations, token = _a.token, field = _a.field, _b = _a.mode, mode = _b === void 0 ? 'show' : _b, _c = _a.canEdit, canEdit = _c === void 0 ? 'false' : _c;
|
|
37
37
|
var _d = __read((0, react_1.useState)(evaluations), 2), content = _d[0], setContent = _d[1];
|
|
38
38
|
var _e = __read((0, react_1.useState)('show'), 2), internalMode = _e[0], setInternalMode = _e[1];
|
|
39
39
|
var handleChange = (0, react_1.useCallback)(function (e) {
|