Skip to content

Commit

Permalink
feat: add serial number to linux/mac amidaware/tacticalrmm#1683
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Jan 27, 2024
1 parent 596ce69 commit 14bde96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/agents/SummaryTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,11 @@ export default {
const loading = ref(false);
const serial_number = computed(() => {
return summary.value.wmi_detail.bios?.[0]?.[0]?.SerialNumber;
if (summary.value.plat === "windows") {
return summary.value.wmi_detail.bios?.[0]?.[0]?.SerialNumber;
} else {
return summary.value.wmi_detail.serialnumber;
}
});
const cpu = computed(() => {
Expand Down

0 comments on commit 14bde96

Please sign in to comment.