diff --git a/web/src/App.js b/web/src/App.js
index d81055ad..35846299 100644
--- a/web/src/App.js
+++ b/web/src/App.js
@@ -287,10 +287,12 @@ class App extends Component {
diff --git a/web/src/UserEditPage.js b/web/src/UserEditPage.js
index cda592d9..a73005ba 100644
--- a/web/src/UserEditPage.js
+++ b/web/src/UserEditPage.js
@@ -517,15 +517,15 @@ class UserEditPage extends React.Component {
}} />
- )
+ );
} else if(accountItem.name === "WebAuthn credentials") {
return (
-
-
+
+
{Setting.getLabel(i18next.t("user:WebAuthn credentials"), i18next.t("user:WebAuthn credentials"))} :
- {this.updateUserField('webauthnCredentials',table)}} refresh={this.getUser.bind(this)}/>
+ {this.updateUserField("webauthnCredentials", table);}} refresh={this.getUser.bind(this)} />
);
diff --git a/web/src/WebauthnCredentialTable.js b/web/src/WebauthnCredentialTable.js
index 48c28802..08f67258 100644
--- a/web/src/WebauthnCredentialTable.js
+++ b/web/src/WebauthnCredentialTable.js
@@ -13,7 +13,7 @@
// limitations under the License.
import React from "react";
-import {Button, Table} from 'antd';
+import {Button, Table} from "antd";
import i18next from "i18next";
import * as UserWebauthnBackend from "./backend/UserWebauthnBackend";
import * as Setting from "./Setting";
@@ -23,30 +23,34 @@ class WebAuthnCredentialTable extends React.Component {
const columns = [
{
title: i18next.t("user:WebAuthn credentials"),
- dataIndex: 'ID',
- key: 'ID',
+ dataIndex: "ID",
+ key: "ID",
},
{
title: i18next.t("general:Action"),
- key: 'action',
+ key: "action",
render: (text, record, index) => {
return (
-