Skip to content

Commit

Permalink
fix: modify format
Browse files Browse the repository at this point in the history
  • Loading branch information
chatiti committed Aug 3, 2024
1 parent 4d0c8f6 commit 7c169ea
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions web/src/CertListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ class CertListPage extends BaseListPage {
render: (text, record, index) => {
return (
<div style={{display: "flex", alignItems: "center", flexWrap: "nowrap"}}>
<Button style={{margin: "10px 10px 10px 0"}} type="default" onClick={() => this.refreshCert(index)}>
{i18next.t("general:Refresh")}
<Button style={{margin: "10px 10px 10px 0"}} type="default" onClick={() => this.refreshCert(index)}>{i18next.t("general:Refresh")}
</Button>
<Button style={{marginTop: "10px", marginBottom: "10px", marginRight: "10px"}} type="primary" onClick={() => this.props.history.push(`/certs/${record.owner}/${record.name}`)}>{i18next.t("general:Edit")}</Button>
<Popconfirm
Expand All @@ -267,12 +266,7 @@ class CertListPage extends BaseListPage {
return (
<div>
<Table
columns={columns}
dataSource={data}
rowKey="name"
size="middle"
bordered
pagination={this.state.pagination}
columns={columns} dataSource={data} rowKey="name" size="middle" bordered pagination={this.state.pagination}
title={() => (
<div>
{i18next.t("general:Certs")}&nbsp;&nbsp;&nbsp;&nbsp;
Expand All @@ -282,7 +276,6 @@ class CertListPage extends BaseListPage {
loading={this.state.loading}
onChange={this.handleTableChange}
/>

</div>
);
}
Expand Down

0 comments on commit 7c169ea

Please sign in to comment.