fix: restore creation date time in UserRightPanel

pull/12/head
c-cal 6 years ago
parent 2b793b8b72
commit 6537062a78
Signed by: watcha
GPG Key ID: 87DD78E7F7A1581D
  1. 6
      src/UserRightPanel.js
  2. 1
      src/UsersTab.js

@ -1,5 +1,6 @@
import React, { Component } from "react";
import { withTranslation } from "react-i18next";
import moment from "moment";
import Accordion from "react-bootstrap/Accordion";
import Alert from "react-bootstrap/Alert";
import Button from "react-bootstrap/Button";
@ -554,6 +555,11 @@ class UserRightPanel extends Component {
<td className="labelText">
{t("Creation")}:
</td>
<td className="infoText">
{moment(
this.props.user.creationTs
).format("LLLL")}
</td>
</tr>
<tr>
<td className="labelText">

@ -149,4 +149,5 @@ const resolve = data =>
? "partner"
: "collaborator",
status: item.is_active === 1 ? "active" : "inactive",
creationTs: item.creation_ts * 1000,
}));

Loading…
Cancel
Save