Revert "PCs: identify by hostname/serial, drop the PC Number field"

This reverts commit 76ca95cc57.
This commit is contained in:
cproudlock
2026-06-26 12:25:32 -04:00
parent 76ca95cc57
commit 6f70575142
3 changed files with 26 additions and 16 deletions

View File

@@ -24,6 +24,7 @@
<table>
<thead>
<tr>
<th>Asset Tag</th>
<th>Hostname</th>
<th>Serial Number</th>
<th>Type</th>
@@ -35,6 +36,7 @@
</thead>
<tbody>
<tr v-for="item in computers" :key="item.assetid">
<td>{{ item.assetnumber }}</td>
<td>{{ item.computer?.hostname || '-' }}</td>
<td class="mono">{{ item.serialnumber || '-' }}</td>
<td>{{ item.computer?.computertypename || '-' }}</td>
@@ -59,7 +61,7 @@
</td>
</tr>
<tr v-if="computers.length === 0">
<td colspan="7" style="text-align: center; color: var(--text-light);">
<td colspan="8" style="text-align: center; color: var(--text-light);">
No computers found
</td>
</tr>