From 46c91cfbff8dfc7d4399a61defda43cf889a74e3 Mon Sep 17 00:00:00 2001 From: Victor Batischev Date: Wed, 6 Mar 2024 12:34:12 +0300 Subject: [PATCH] remove archive --- .../TicketFullScreen/TicketFullScreen.jsx | 8 -- .../ProfileHeader/ProfileHeader.jsx | 8 +- src/pages/Profile/Profile.jsx | 12 +- src/pages/ProjectTracker/ProjectTracker.jsx | 8 -- src/pages/Statistics/Statistics.jsx | 8 -- src/pages/Tracker/Tracker.jsx | 104 ------------------ 6 files changed, 10 insertions(+), 138 deletions(-) diff --git a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx index fd068c16..c8d5c73c 100644 --- a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx +++ b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx @@ -631,14 +631,6 @@ export const TicketFullScreen = () => { img

Все мои задачи

- toggleTabs(3)} - > - img -

Архив

- {loader ? ( diff --git a/src/components/ProfileHeader/ProfileHeader.jsx b/src/components/ProfileHeader/ProfileHeader.jsx index 135291ca..b442b055 100644 --- a/src/components/ProfileHeader/ProfileHeader.jsx +++ b/src/components/ProfileHeader/ProfileHeader.jsx @@ -69,10 +69,10 @@ export const ProfileHeader = () => { path: "/tracker", name: "Трекер" }, - { - path: "/treaties", - name: "Договоры" - }, + // { + // path: "/treaties", + // name: "Договоры" + // }, { path: "/settings", name: "Настройки" diff --git a/src/pages/Profile/Profile.jsx b/src/pages/Profile/Profile.jsx index 72a7fe86..b1338954 100644 --- a/src/pages/Profile/Profile.jsx +++ b/src/pages/Profile/Profile.jsx @@ -78,12 +78,12 @@ export const Profile = () => { title: "Трекер времени", description: "Контроль времени и
выполнение задач" }, - { - path: "profile/treaties", - img: paymentIcon, - title: "Договоры и отчетность", - description: "Ключевые условия
договора" - }, + // { + // path: "profile/treaties", + // img: paymentIcon, + // title: "Договоры и отчетность", + // description: "Ключевые условия
договора" + // }, { path: "profile/settings", img: settingIcon, diff --git a/src/pages/ProjectTracker/ProjectTracker.jsx b/src/pages/ProjectTracker/ProjectTracker.jsx index f661dd16..52b95c10 100644 --- a/src/pages/ProjectTracker/ProjectTracker.jsx +++ b/src/pages/ProjectTracker/ProjectTracker.jsx @@ -457,14 +457,6 @@ export const ProjectTracker = () => { img

Все мои задачи

- dispatch(setToggleTab(3))} - > - img -

Архив

-
{ img

Все мои задачи

- toggleTabs(3)} - > - img -

Архив

-
diff --git a/src/pages/Tracker/Tracker.jsx b/src/pages/Tracker/Tracker.jsx index b1d3c484..1ab0c9f6 100644 --- a/src/pages/Tracker/Tracker.jsx +++ b/src/pages/Tracker/Tracker.jsx @@ -161,13 +161,6 @@ export const Tracker = () => { img

Все мои задачи

-
toggleTabs(3)} - > - img -

Архив

-
{

-
-
-
-

Архив задач:

-

- {`${filterCompleteTasks.length} - ${caseOfNum(filterCompleteTasks.length, "tasks")}`} -

- -
-
- - -
-
-

Сентябрь,

-

2023

-
-
-
- search - filterArchiveTasks(event)} - /> -
-
- - {loader && } - - -
-
-
-

Архив проектов:

-

- {`${ - projects?.filter((project) => project.status === 10).length - } - ${caseOfNum( - projects?.filter((project) => project.status === 10) - .length, - "projects" - )}`} -

-
-
- {Boolean( - projects?.filter((project) => project.status === 10).length - ) ? ( - projects?.map((project, index) => { - return project.status === 10 ? ( -
-
-

- {project.name} -

-

{project.date}

-
-
- # -
-

Создатель проекта:

-

{"Василий Тарасов"}

-
-
-
- ) : ( - "" - ); - }) - ) : ( -
- # -

В архиве проектов нет

-
- )} -
-
-