diff --git a/web/src/VerificationListPage.js b/web/src/VerificationListPage.js index 52f33e3e..a5789f74 100644 --- a/web/src/VerificationListPage.js +++ b/web/src/VerificationListPage.js @@ -19,7 +19,7 @@ import * as VerificationBackend from "./backend/VerificationBackend"; import i18next from "i18next"; import {Link} from "react-router-dom"; import React from "react"; -import {Table} from "antd"; +import {Switch, Table} from "antd"; class VerificationListPage extends BaseListPage { newVerification() { @@ -146,6 +146,18 @@ class VerificationListPage extends BaseListPage { sorter: true, ...this.getColumnSearchProps("code"), }, + { + title: i18next.t("verification:Is used"), + dataIndex: "isUsed", + key: "isUsed", + width: "90px", + sorter: true, + render: (text, record, index) => { + return ( + + ); + }, + }, ]; const paginationProps = {