@banch0u/core-project-test-repository 2.1.10 → 2.1.11
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.
|
@@ -4,14 +4,14 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
4
4
|
import React, { useEffect, useCallback, useState } from "react";
|
|
5
5
|
import style from "./index.module.scss";
|
|
6
6
|
import { Form, Input } from "antd";
|
|
7
|
-
import {
|
|
7
|
+
import { useNavigate } from "react-router-dom";
|
|
8
8
|
import { DsgLogo } from "../../assets/icons";
|
|
9
9
|
import Loading from "../../components/Loading";
|
|
10
10
|
import { login } from "../../store/slices/auth";
|
|
11
11
|
import { useDispatch, useSelector } from "react-redux";
|
|
12
|
-
import AsanImza from "../../assets/icons/AsanImza.png";
|
|
13
|
-
import Sima from "../../assets/icons/Sima.png";
|
|
14
|
-
import Ldap from "../../assets/icons/Ldap.png";
|
|
12
|
+
// import AsanImza from "../../assets/icons/AsanImza.png";
|
|
13
|
+
// import Sima from "../../assets/icons/Sima.png";
|
|
14
|
+
// import Ldap from "../../assets/icons/Ldap.png";
|
|
15
15
|
import { getCompanyInfo } from "../../store/slices/companyInfo";
|
|
16
16
|
import api from "../../utils/axios"; // 💡 Make sure this points to your axios instance
|
|
17
17
|
|
|
@@ -150,32 +150,13 @@ var Login = function Login() {
|
|
|
150
150
|
},
|
|
151
151
|
placeholder: "\u015Eifr\u0259",
|
|
152
152
|
className: style.control_input
|
|
153
|
-
}))), /*#__PURE__*/React.createElement(
|
|
154
|
-
to: ""
|
|
155
|
-
}, "\u015Eifr\u0259ni unuttdun?"), /*#__PURE__*/React.createElement("div", {
|
|
153
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
156
154
|
className: style.button
|
|
157
155
|
}, /*#__PURE__*/React.createElement("div", {
|
|
158
156
|
className: style.border,
|
|
159
157
|
"data-no-invert": true
|
|
160
158
|
}, /*#__PURE__*/React.createElement("button", {
|
|
161
159
|
type: "submit"
|
|
162
|
-
}, "Daxil Ol")))
|
|
163
|
-
className: style.alternative_login
|
|
164
|
-
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
165
|
-
className: style.background
|
|
166
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
167
|
-
src: AsanImza,
|
|
168
|
-
alt: "asan_imza"
|
|
169
|
-
})), /*#__PURE__*/React.createElement("h3", null, "Asan imza")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
170
|
-
className: style.background
|
|
171
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
172
|
-
src: Sima,
|
|
173
|
-
alt: "sima"
|
|
174
|
-
})), /*#__PURE__*/React.createElement("h3", null, "E-\u0130mza")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
175
|
-
className: style.background
|
|
176
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
177
|
-
src: Ldap,
|
|
178
|
-
alt: "ldap"
|
|
179
|
-
})), /*#__PURE__*/React.createElement("h3", null, "Ldap")))));
|
|
160
|
+
}, "Daxil Ol")))));
|
|
180
161
|
};
|
|
181
162
|
export default Login;
|
|
@@ -96,7 +96,8 @@ var QuestionnairesDefaultAgreementPlansContent = function QuestionnairesDefaultA
|
|
|
96
96
|
var onEdit = useCallback(function (id, record) {
|
|
97
97
|
var data = {
|
|
98
98
|
id: id,
|
|
99
|
-
|
|
99
|
+
responsiblePersonId: record === null || record === void 0 ? void 0 : record.responsiblePersonId,
|
|
100
|
+
rank: record === null || record === void 0 ? void 0 : record.rank
|
|
100
101
|
};
|
|
101
102
|
dispatch(editDefaultAgreementPlans(data));
|
|
102
103
|
setEditingRecord(null);
|