1 parent
466d356ad1
commit
1c291bb893
3 files changed
+2
-13
No files matched your search
@@ -65,13 +65,7 @@ export const NotificationsTable = ({
|
||||
id: "type",
|
||||
content: t("common.table.headers.type"),
|
||||
render: (row) => {
|
||||
return (
|
||||
<Typography textTransform={"capitalize"}>
|
||||
{row?.type === "rocket_chat"
|
||||
? t("pages.notifications.form.type.rocketChat")
|
||||
: row?.type}
|
||||
</Typography>
|
||||
);
|
||||
return <Typography textTransform={"capitalize"}>{row?.type}</Typography>;
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -139,11 +139,7 @@ const NotificationsCreatePage = () => {
|
||||
key={type}
|
||||
value={type}
|
||||
>
|
||||
<Typography textTransform="capitalize">
|
||||
{type === "rocket_chat"
|
||||
? t("pages.notifications.form.type.rocketChat")
|
||||
: type}
|
||||
</Typography>
|
||||
<Typography textTransform="capitalize">{type}</Typography>
|
||||
</MenuItem>
|
||||
))}
|
||||
</Select>
|
||||
|
||||
@@ -1164,7 +1164,6 @@
|
||||
"type": {
|
||||
"description": "Select the type of notification channel to create.",
|
||||
"optionType": "Type",
|
||||
"rocketChat": "Rocket.Chat",
|
||||
"title": "Channel type"
|
||||
},
|
||||
"telegram": {
|
||||
|
||||
Reference in new issue
Block a user