feat: creating chats for cards and clients, sending and deleting text messages
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
IconCubeSend,
|
||||
IconUsersGroup,
|
||||
IconUserCog,
|
||||
IconMessage,
|
||||
} from "@tabler/icons-react";
|
||||
import ModulesType from "./types.tsx";
|
||||
import connectModules from "./connectModules.tsx";
|
||||
@@ -14,6 +15,7 @@ export enum ModuleNames {
|
||||
SHIPMENT = "shipment",
|
||||
EMPLOYEES = "employees",
|
||||
MANAGERS = "managers",
|
||||
CHAT = "chat",
|
||||
}
|
||||
|
||||
const modules: ModulesType = {
|
||||
@@ -52,6 +54,13 @@ const modules: ModulesType = {
|
||||
icon: <IconUserCog />,
|
||||
}
|
||||
},
|
||||
[ModuleNames.CHAT]: {
|
||||
info: {
|
||||
label: "Чат",
|
||||
key: "chat",
|
||||
icon: <IconMessage />,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
export const MODULES = connectModules(modules);
|
||||
|
||||
Reference in New Issue
Block a user