tracker tasks
This commit is contained in:
parent
3b8ec8e100
commit
a7c58b2609
@ -665,8 +665,8 @@ export const ModalTiсket = ({
|
||||
"Image",
|
||||
"ImageCaption",
|
||||
"ImageUpload",
|
||||
"MediaEmbed",
|
||||
],
|
||||
"MediaEmbed"
|
||||
]
|
||||
}}
|
||||
onChange={(event, editor) => {
|
||||
const data = editor.getData();
|
||||
|
@ -684,8 +684,8 @@ export const TicketFullScreen = () => {
|
||||
"Image",
|
||||
"ImageCaption",
|
||||
"ImageUpload",
|
||||
"MediaEmbed",
|
||||
],
|
||||
"MediaEmbed"
|
||||
]
|
||||
}}
|
||||
onChange={(event, editor) => {
|
||||
const data = editor.getData();
|
||||
|
@ -631,7 +631,7 @@ export const TrackerModal = ({
|
||||
"Image",
|
||||
"ImageCaption",
|
||||
"ImageUpload",
|
||||
"MediaEmbed",
|
||||
"MediaEmbed"
|
||||
],
|
||||
placeholder: "Описание задачи"
|
||||
}}
|
||||
|
@ -128,8 +128,8 @@ export const TrackerTaskComment = ({
|
||||
"Image",
|
||||
"ImageCaption",
|
||||
"ImageUpload",
|
||||
"MediaEmbed",
|
||||
],
|
||||
"MediaEmbed"
|
||||
]
|
||||
}}
|
||||
onChange={(event, editor) => {
|
||||
const data = editor.getData();
|
||||
|
@ -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 = () => {
|
||||
<>
|
||||
<div className="table__tabs">
|
||||
{tabs.map((tab) => {
|
||||
return <button onClick={() => setActiveTab(tab.id)} key={tab.id} className={`table__tab ${tab.id === activeTab ? 'table__tab--active' : ''}`}>{tab.name}</button>
|
||||
return (
|
||||
<button
|
||||
onClick={() => setActiveTab(tab.id)}
|
||||
key={tab.id}
|
||||
className={`table__tab ${
|
||||
tab.id === activeTab ? "table__tab--active" : ""
|
||||
}`}
|
||||
>
|
||||
{tab.name}
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
<label className="table__search" htmlFor="search">
|
||||
|
@ -244,8 +244,8 @@ export const Summary = () => {
|
||||
"Image",
|
||||
"ImageCaption",
|
||||
"ImageUpload",
|
||||
"MediaEmbed",
|
||||
],
|
||||
"MediaEmbed"
|
||||
]
|
||||
}}
|
||||
onChange={(event, editor) => {
|
||||
const data = editor.getData();
|
||||
|
@ -70,7 +70,7 @@ export const Tracker = () => {
|
||||
renderCell: (item) => (
|
||||
<p dangerouslySetInnerHTML={{ __html: item.title }}></p>
|
||||
),
|
||||
sort: { sortKey: "NAME" },
|
||||
sort: { sortKey: "NAME" }
|
||||
},
|
||||
{
|
||||
label: "Создано",
|
||||
|
Loading…
Reference in New Issue
Block a user