{#if editingId !== null}
Update
Cancel
{:else}
Insert
{/if}
Host Type
Host ID
Host Test Code
Host Test Name
Client Type
Client ID
Client Test Code
Client Test Name
Container
{#if tempMap.length === 0}
No data. Fill the form above and click Insert.
{:else} {#each tempMap as row (row.id)}
{row.HostType}
{row.HostID}
{row.HostTestCode}
{row.HostTestName}
{row.ClientType}
{row.ClientID ? getLabel("ClientID", row.ClientID, row.id) : "-"}
{row.ClientTestCode ? getLabel("ClientTestCode", row.ClientTestCode, row.id) : "-"}
{row.ClientTestName ? getLabel("ClientTestName", row.ClientTestName, row.id) : "-"}
{row.ConDefID ? getLabel("ConDefID", row.ConDefID, row.id) : "-"}
handleEdit(row)} >
handleRemove(row.id)} >
{/each} {/if}