Преглед на файлове

:fire: channelTypeFilter

visuddhinanda преди 1 година
родител
ревизия
63516d86b4
променени са 1 файла, в които са добавени 1 реда и са изтрити 24 реда
  1. 1 24
      dashboard-v4/dashboard/src/components/task/ProjectList.tsx

+ 1 - 24
dashboard-v4/dashboard/src/components/task/ProjectList.tsx

@@ -1,6 +1,6 @@
 import { useRef, useState } from "react";
 import { ActionType, ProList } from "@ant-design/pro-components";
-import { FormattedMessage, useIntl } from "react-intl";
+import { useIntl } from "react-intl";
 import { Link } from "react-router-dom";
 import { Button, message, Modal, Popover } from "antd";
 import { Dropdown } from "antd";
@@ -18,29 +18,6 @@ import { TransferOutLinedIcon } from "../../assets/icon";
 import { IProjectData, IProjectListResponse, TProjectType } from "../api/task";
 import ProjectCreate from "./ProjectCreate";
 
-export const channelTypeFilter = {
-  all: {
-    text: <FormattedMessage id="channel.type.all.title" />,
-    status: "Default",
-  },
-  translation: {
-    text: <FormattedMessage id="channel.type.translation.label" />,
-    status: "Success",
-  },
-  nissaya: {
-    text: <FormattedMessage id="channel.type.nissaya.label" />,
-    status: "Processing",
-  },
-  commentary: {
-    text: <FormattedMessage id="channel.type.commentary.label" />,
-    status: "Default",
-  },
-  original: {
-    text: <FormattedMessage id="channel.type.original.label" />,
-    status: "Default",
-  },
-};
-
 export interface IResNumberResponse {
   ok: boolean;
   message: string;