done
This commit is contained in:
@@ -68,12 +68,12 @@ export default function DomainsView() {
|
||||
<>
|
||||
<Space direction="vertical" >
|
||||
{
|
||||
domainStore.domains.map(e => (
|
||||
<DomainCard domain={e}
|
||||
onDeleteClick={() => openDeleteModal(e)}
|
||||
onRecordClick={() => go(`/records/${e.domain_name}`)}
|
||||
onEditClick={() => openEditModal(e)}
|
||||
key={e.id}
|
||||
domainStore.domains.map(domain => (
|
||||
<DomainCard domain={domain}
|
||||
onDeleteClick={() => openDeleteModal(domain)}
|
||||
onRecordClick={() => go(`/records/${domain.domain_name}`)}
|
||||
onEditClick={() => openEditModal(domain)}
|
||||
key={domain.id}
|
||||
/>
|
||||
))
|
||||
}
|
||||
|
@@ -110,8 +110,8 @@ export default function RecordsView() {
|
||||
</Layout>
|
||||
<RecordEditModal open={editModalShow} onCancel={closeEditModal}
|
||||
onOk={closeEditModal} record={currentRecord}
|
||||
editRecord={v => recordStore.updateRecord(domain!, v)}
|
||||
createRecord={v => recordStore.addRecord(domain!, v)} />
|
||||
editRecord={record => recordStore.updateRecord(domain!, record)}
|
||||
createRecord={record => recordStore.addRecord(domain!, record)} />
|
||||
</>
|
||||
}
|
||||
</>
|
||||
|
Reference in New Issue
Block a user