version
This commit is contained in:
parent
e7c87e1d78
commit
e2355b1453
@ -15,7 +15,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.10.5",
|
"@emotion/react": "^11.10.5",
|
||||||
"@emotion/styled": "^11.10.5",
|
"@emotion/styled": "^11.10.5",
|
||||||
"@frontend/kitui": "1.0.57",
|
"@frontend/kitui": "1.0.65",
|
||||||
"@mui/icons-material": "^5.10.14",
|
"@mui/icons-material": "^5.10.14",
|
||||||
"@mui/material": "^5.10.14",
|
"@mui/material": "^5.10.14",
|
||||||
"@popperjs/core": "^2.11.8",
|
"@popperjs/core": "^2.11.8",
|
||||||
|
@ -6,6 +6,8 @@ import type { ServiceKeyToPrivilegesMap } from "@root/model/privilege"
|
|||||||
import type { GetTariffsResponse } from "@root/model/tariff"
|
import type { GetTariffsResponse } from "@root/model/tariff"
|
||||||
|
|
||||||
const apiUrl = process.env.REACT_APP_DOMAIN + "/strator"
|
const apiUrl = process.env.REACT_APP_DOMAIN + "/strator"
|
||||||
|
console.log("домен с которого тарифы запрашиваются", process.env.REACT_APP_DOMAIN)
|
||||||
|
console.log("домен с которого тарифы запрашиваются", apiUrl)
|
||||||
|
|
||||||
export async function getTariffs(
|
export async function getTariffs(
|
||||||
apiPage: number,
|
apiPage: number,
|
||||||
|
@ -37,6 +37,7 @@ export default function AccordionWrapper({ content, last, first, createdAt, onCl
|
|||||||
content[0].Value[0].forEach((item) => {
|
content[0].Value[0].forEach((item) => {
|
||||||
valuesByKey[item.Key] = item.Value
|
valuesByKey[item.Key] = item.Value
|
||||||
})
|
})
|
||||||
|
console.log("Я врапер")
|
||||||
console.log(content)
|
console.log(content)
|
||||||
console.log(content[0])
|
console.log(content[0])
|
||||||
console.log(content[0].Value)
|
console.log(content[0].Value)
|
||||||
|
@ -29,7 +29,7 @@ export default function History() {
|
|||||||
const isMobile = useMediaQuery(theme.breakpoints.down(600))
|
const isMobile = useMediaQuery(theme.breakpoints.down(600))
|
||||||
const isTablet = useMediaQuery(theme.breakpoints.down(1000))
|
const isTablet = useMediaQuery(theme.breakpoints.down(1000))
|
||||||
const historyData = useHistoryStore(state => state.history)
|
const historyData = useHistoryStore(state => state.history)
|
||||||
|
console.log("historyData", historyData)
|
||||||
const handleCustomBackNavigation = useHistoryTracker()
|
const handleCustomBackNavigation = useHistoryTracker()
|
||||||
|
|
||||||
const extractDateFromString = (tariffName: string) => {
|
const extractDateFromString = (tariffName: string) => {
|
||||||
|
@ -8,7 +8,7 @@ export const useHistoryData = () => {
|
|||||||
async function fetchData() {
|
async function fetchData() {
|
||||||
try {
|
try {
|
||||||
const [response, errorMsg] = await getHistory();
|
const [response, errorMsg] = await getHistory();
|
||||||
|
console.log(response, errorMsg)
|
||||||
if (errorMsg) {
|
if (errorMsg) {
|
||||||
console.error("Произошла ошибка при вызове getHistory:", errorMsg);
|
console.error("Произошла ошибка при вызове getHistory:", errorMsg);
|
||||||
}
|
}
|
||||||
|
@ -1420,10 +1420,10 @@
|
|||||||
resolved "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.6.tgz"
|
resolved "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.6.tgz"
|
||||||
integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==
|
integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==
|
||||||
|
|
||||||
"@frontend/kitui@1.0.57":
|
"@frontend/kitui@1.0.65":
|
||||||
version "1.0.57"
|
version "1.0.65"
|
||||||
resolved "https://penahub.gitlab.yandexcloud.net/api/v4/projects/21/packages/npm/@frontend/kitui/-/@frontend/kitui-1.0.57.tgz#6d6e8f37d44e587a26e00b8c1606a0df32213e81"
|
resolved "https://penahub.gitlab.yandexcloud.net/api/v4/projects/21/packages/npm/@frontend/kitui/-/@frontend/kitui-1.0.65.tgz#d8442765aaaa4bdc72b0b3ada8f2d0f03717c864"
|
||||||
integrity sha1-bW6PN9ROWHom4AuMFgag3zIhPoE=
|
integrity sha1-2EQnZaqqS9xysLOtqPLQ8DcXyGQ=
|
||||||
dependencies:
|
dependencies:
|
||||||
immer "^10.0.2"
|
immer "^10.0.2"
|
||||||
reconnecting-eventsource "^1.6.2"
|
reconnecting-eventsource "^1.6.2"
|
||||||
|
Loading…
Reference in New Issue
Block a user