From a7c58b26096059ceeafb3c21e73c54a0f6e835dd Mon Sep 17 00:00:00 2001 From: Mikola Date: Fri, 3 May 2024 14:26:36 +0300 Subject: [PATCH] tracker tasks --- .../Modal/Tracker/ModalTicket/ModalTicket.jsx | 4 ++-- .../TicketFullScreen/TicketFullScreen.jsx | 4 ++-- .../Tracker/TrackerModal/TrackerModal.jsx | 2 +- .../TrackerTaskComment/TrackerTaskComment.jsx | 4 ++-- .../PartnerСategories/PartnerСategories.jsx | 23 ++++++++++++++----- src/pages/Summary/Summary.jsx | 4 ++-- src/pages/Tracker/Tracker.jsx | 2 +- 7 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx b/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx index 0655741d..a90b0b27 100644 --- a/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx +++ b/src/components/Modal/Tracker/ModalTicket/ModalTicket.jsx @@ -665,8 +665,8 @@ export const ModalTiсket = ({ "Image", "ImageCaption", "ImageUpload", - "MediaEmbed", - ], + "MediaEmbed" + ] }} onChange={(event, editor) => { const data = editor.getData(); diff --git a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx index c1061bea..ac6ba7ec 100644 --- a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx +++ b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx @@ -684,8 +684,8 @@ export const TicketFullScreen = () => { "Image", "ImageCaption", "ImageUpload", - "MediaEmbed", - ], + "MediaEmbed" + ] }} onChange={(event, editor) => { const data = editor.getData(); diff --git a/src/components/Modal/Tracker/TrackerModal/TrackerModal.jsx b/src/components/Modal/Tracker/TrackerModal/TrackerModal.jsx index 76adcc54..37bf9f03 100644 --- a/src/components/Modal/Tracker/TrackerModal/TrackerModal.jsx +++ b/src/components/Modal/Tracker/TrackerModal/TrackerModal.jsx @@ -631,7 +631,7 @@ export const TrackerModal = ({ "Image", "ImageCaption", "ImageUpload", - "MediaEmbed", + "MediaEmbed" ], placeholder: "Описание задачи" }} diff --git a/src/components/TrackerTaskComment/TrackerTaskComment.jsx b/src/components/TrackerTaskComment/TrackerTaskComment.jsx index f1f3127b..ee3d20f4 100644 --- a/src/components/TrackerTaskComment/TrackerTaskComment.jsx +++ b/src/components/TrackerTaskComment/TrackerTaskComment.jsx @@ -128,8 +128,8 @@ export const TrackerTaskComment = ({ "Image", "ImageCaption", "ImageUpload", - "MediaEmbed", - ], + "MediaEmbed" + ] }} onChange={(event, editor) => { const data = editor.getData(); diff --git a/src/pages/PartnerСategories/PartnerСategories.jsx b/src/pages/PartnerСategories/PartnerСategories.jsx index 398e75d3..1caae20d 100644 --- a/src/pages/PartnerСategories/PartnerСategories.jsx +++ b/src/pages/PartnerСategories/PartnerСategories.jsx @@ -44,23 +44,24 @@ export const PartnerCategories = () => { const theme = useTheme(getTheme()); const [nodes, setNodes] = useState([]); const [initialNodes, setInitialNodes] = useState([]); - const [activeTab, setActiveTab] = useState(1) + const [activeTab, setActiveTab] = useState(1); const [search, setSearch] = useState(""); const tabs = [ { id: 1, - name: 'Все' + name: "Все" }, { id: 2, - name: 'Фронтенд' + name: "Фронтенд" }, { id: 3, - name: 'Бэкенд' - }] + name: "Бэкенд" + } + ]; const COLUMNS = [ { @@ -273,7 +274,17 @@ export const PartnerCategories = () => { <>
{tabs.map((tab) => { - return + return ( + + ); })}