authscape 1.0.480 → 1.0.482
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.
package/index.js
CHANGED
|
@@ -8376,7 +8376,6 @@ var _Autocomplete = _interopRequireWildcard(require("@mui/material/Autocomplete"
|
|
|
8376
8376
|
var _material = require("@mui/material");
|
|
8377
8377
|
var _InsertDriveFileRounded = _interopRequireDefault(require("@mui/icons-material/InsertDriveFileRounded"));
|
|
8378
8378
|
var _ArrowBackIosRounded = _interopRequireDefault(require("@mui/icons-material/ArrowBackIosRounded"));
|
|
8379
|
-
var _router = require("next/router");
|
|
8380
8379
|
var _excluded = ["children", "value", "index"];
|
|
8381
8380
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
8382
8381
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -8448,7 +8447,6 @@ var TicketDetail = function TicketDetail(_ref) {
|
|
|
8448
8447
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
8449
8448
|
selectedCreatedBy = _useState22[0],
|
|
8450
8449
|
setSelectedCreatedBy = _useState22[1];
|
|
8451
|
-
var router = (0, _router.useRouter)();
|
|
8452
8450
|
(0, _react.useEffect)(function () {
|
|
8453
8451
|
var fetchData = /*#__PURE__*/function () {
|
|
8454
8452
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
@@ -8772,7 +8770,7 @@ var TicketDetail = function TicketDetail(_ref) {
|
|
|
8772
8770
|
case 0:
|
|
8773
8771
|
_context7.next = 2;
|
|
8774
8772
|
return apiService().put("/ticket/UpdateParticipants", {
|
|
8775
|
-
ticketId:
|
|
8773
|
+
ticketId: ticketId,
|
|
8776
8774
|
participants: newValue
|
|
8777
8775
|
});
|
|
8778
8776
|
case 2:
|
package/package.json
CHANGED
|
@@ -15,7 +15,6 @@ import Autocomplete, { createFilterOptions } from '@mui/material/Autocomplete';
|
|
|
15
15
|
import { Button, Card, CardActions, CardContent, CardMedia, Stack } from "@mui/material";
|
|
16
16
|
import InsertDriveFileRoundedIcon from '@mui/icons-material/InsertDriveFileRounded';
|
|
17
17
|
import ArrowBackIosRoundedIcon from '@mui/icons-material/ArrowBackIosRounded';
|
|
18
|
-
import { useRouter } from 'next/router';
|
|
19
18
|
|
|
20
19
|
export const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewTickets = null, customTabName = null, customTabElement = null}) => {
|
|
21
20
|
|
|
@@ -33,8 +32,6 @@ export const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewT
|
|
|
33
32
|
const [createdByList, setCreatedByList] = useState([]);
|
|
34
33
|
const [selectedCreatedBy, setSelectedCreatedBy] = useState(null);
|
|
35
34
|
|
|
36
|
-
const router = useRouter();
|
|
37
|
-
|
|
38
35
|
useEffect(() => {
|
|
39
36
|
|
|
40
37
|
const fetchData = async () => {
|
|
@@ -298,7 +295,7 @@ export const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewT
|
|
|
298
295
|
// alert(JSON.stringify(newValue));
|
|
299
296
|
|
|
300
297
|
await apiService().put("/ticket/UpdateParticipants", {
|
|
301
|
-
ticketId:
|
|
298
|
+
ticketId: ticketId,
|
|
302
299
|
participants: newValue
|
|
303
300
|
});
|
|
304
301
|
|