tracker tasks
This commit is contained in:
parent
3b8ec8e100
commit
a7c58b2609
@ -665,8 +665,8 @@ export const ModalTiсket = ({
|
|||||||
"Image",
|
"Image",
|
||||||
"ImageCaption",
|
"ImageCaption",
|
||||||
"ImageUpload",
|
"ImageUpload",
|
||||||
"MediaEmbed",
|
"MediaEmbed"
|
||||||
],
|
]
|
||||||
}}
|
}}
|
||||||
onChange={(event, editor) => {
|
onChange={(event, editor) => {
|
||||||
const data = editor.getData();
|
const data = editor.getData();
|
||||||
|
@ -684,8 +684,8 @@ export const TicketFullScreen = () => {
|
|||||||
"Image",
|
"Image",
|
||||||
"ImageCaption",
|
"ImageCaption",
|
||||||
"ImageUpload",
|
"ImageUpload",
|
||||||
"MediaEmbed",
|
"MediaEmbed"
|
||||||
],
|
]
|
||||||
}}
|
}}
|
||||||
onChange={(event, editor) => {
|
onChange={(event, editor) => {
|
||||||
const data = editor.getData();
|
const data = editor.getData();
|
||||||
|
@ -631,7 +631,7 @@ export const TrackerModal = ({
|
|||||||
"Image",
|
"Image",
|
||||||
"ImageCaption",
|
"ImageCaption",
|
||||||
"ImageUpload",
|
"ImageUpload",
|
||||||
"MediaEmbed",
|
"MediaEmbed"
|
||||||
],
|
],
|
||||||
placeholder: "Описание задачи"
|
placeholder: "Описание задачи"
|
||||||
}}
|
}}
|
||||||
|
@ -128,8 +128,8 @@ export const TrackerTaskComment = ({
|
|||||||
"Image",
|
"Image",
|
||||||
"ImageCaption",
|
"ImageCaption",
|
||||||
"ImageUpload",
|
"ImageUpload",
|
||||||
"MediaEmbed",
|
"MediaEmbed"
|
||||||
],
|
]
|
||||||
}}
|
}}
|
||||||
onChange={(event, editor) => {
|
onChange={(event, editor) => {
|
||||||
const data = editor.getData();
|
const data = editor.getData();
|
||||||
|
@ -44,23 +44,24 @@ export const PartnerCategories = () => {
|
|||||||
const theme = useTheme(getTheme());
|
const theme = useTheme(getTheme());
|
||||||
const [nodes, setNodes] = useState([]);
|
const [nodes, setNodes] = useState([]);
|
||||||
const [initialNodes, setInitialNodes] = useState([]);
|
const [initialNodes, setInitialNodes] = useState([]);
|
||||||
const [activeTab, setActiveTab] = useState(1)
|
const [activeTab, setActiveTab] = useState(1);
|
||||||
|
|
||||||
const [search, setSearch] = useState("");
|
const [search, setSearch] = useState("");
|
||||||
|
|
||||||
const tabs = [
|
const tabs = [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
name: 'Все'
|
name: "Все"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
name: 'Фронтенд'
|
name: "Фронтенд"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3,
|
id: 3,
|
||||||
name: 'Бэкенд'
|
name: "Бэкенд"
|
||||||
}]
|
}
|
||||||
|
];
|
||||||
|
|
||||||
const COLUMNS = [
|
const COLUMNS = [
|
||||||
{
|
{
|
||||||
@ -273,7 +274,17 @@ export const PartnerCategories = () => {
|
|||||||
<>
|
<>
|
||||||
<div className="table__tabs">
|
<div className="table__tabs">
|
||||||
{tabs.map((tab) => {
|
{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>
|
</div>
|
||||||
<label className="table__search" htmlFor="search">
|
<label className="table__search" htmlFor="search">
|
||||||
|
@ -244,8 +244,8 @@ export const Summary = () => {
|
|||||||
"Image",
|
"Image",
|
||||||
"ImageCaption",
|
"ImageCaption",
|
||||||
"ImageUpload",
|
"ImageUpload",
|
||||||
"MediaEmbed",
|
"MediaEmbed"
|
||||||
],
|
]
|
||||||
}}
|
}}
|
||||||
onChange={(event, editor) => {
|
onChange={(event, editor) => {
|
||||||
const data = editor.getData();
|
const data = editor.getData();
|
||||||
|
@ -70,7 +70,7 @@ export const Tracker = () => {
|
|||||||
renderCell: (item) => (
|
renderCell: (item) => (
|
||||||
<p dangerouslySetInnerHTML={{ __html: item.title }}></p>
|
<p dangerouslySetInnerHTML={{ __html: item.title }}></p>
|
||||||
),
|
),
|
||||||
sort: { sortKey: "NAME" },
|
sort: { sortKey: "NAME" }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Создано",
|
label: "Создано",
|
||||||
|
Loading…
Reference in New Issue
Block a user