diff --git a/web/src/ChatPage.js b/web/src/ChatPage.js
index a202a7f..9c7448c 100644
--- a/web/src/ChatPage.js
+++ b/web/src/ChatPage.js
@@ -59,7 +59,7 @@ class ChatPage extends BaseListPage {
newMessage(text) {
const randomName = Setting.getRandomName();
return {
- owner: this.props.account.owner, // this.props.account.messagename,
+ owner: "admin", // this.props.account.messagename,
name: `message_${randomName}`,
createdTime: moment().format(),
// organization: this.props.account.owner,
diff --git a/web/src/MessageListPage.js b/web/src/MessageListPage.js
index f0b44ba..e393646 100644
--- a/web/src/MessageListPage.js
+++ b/web/src/MessageListPage.js
@@ -115,7 +115,7 @@ class MessageListPage extends React.Component {
title: i18next.t("general:Created time"),
dataIndex: "createdTime",
key: "createdTime",
- width: "130px",
+ width: "120px",
sorter: (a, b) => a.createdTime.localeCompare(b.createdTime),
render: (text, record, index) => {
return Setting.getFormattedDate(text);
@@ -129,7 +129,7 @@ class MessageListPage extends React.Component {
sorter: (a, b) => a.chat.localeCompare(b.chat),
render: (text, record, index) => {
return (
-
+
{text}
);
@@ -139,12 +139,13 @@ class MessageListPage extends React.Component {
title: i18next.t("message:Reply to"),
dataIndex: "replyTo",
key: "replyTo",
- width: "130px",
+ width: "100px",
sorter: (a, b) => a.replyTo.localeCompare(b.replyTo),
render: (text, record, index) => {
+ const textTemp = text.split("/")[1];
return (
-
- {text}
+
+ {textTemp}
);
},
@@ -153,7 +154,7 @@ class MessageListPage extends React.Component {
title: i18next.t("message:Author"),
dataIndex: "author",
key: "author",
- width: "120px",
+ width: "100px",
sorter: (a, b) => a.author.localeCompare(b.author),
render: (text, record, index) => {
return (