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