ui: remove diffs column from compliance table
This commit is contained in:
1 parent
bf98c9f405
commit
713a043625
1 file changed
-6
@@ -306,7 +306,6 @@ function goToDevice(identifier: string) { router.get(`/devices/${identifier}`) }
|
||||
<th>{{ t('labels.productClass') }}</th>
|
||||
<th>{{ t('labels.serialNumber') }}</th>
|
||||
<th>{{ t('labels.status') }}</th>
|
||||
<th>{{ t('configDetail.diffs') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -320,11 +319,6 @@ function goToDevice(identifier: string) { router.get(`/devices/${identifier}`) }
|
||||
<span v-if="device.compliant" class="badge bg-success">{{ t('configDetail.compliant') }}</span>
|
||||
<span v-else class="badge bg-danger" style="cursor:pointer" @click.stop="runDryRun(device.identifier)">{{ t('configDetail.nonCompliant') }}</span>
|
||||
</td>
|
||||
<td class="small text-muted">
|
||||
<span v-if="device.parameterDiffs?.length">{{ device.parameterDiffs.length }} diff(s)</span>
|
||||
<span v-else-if="device.firmwareMigrationPath?.length">firmware</span>
|
||||
<span v-else>—</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in new issue
Block a user