feat: add serial number to linux/mac amidaware/tacticalrmm#1683
This commit is contained in:
		@@ -267,7 +267,11 @@ export default {
 | 
				
			|||||||
    const loading = ref(false);
 | 
					    const loading = ref(false);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const serial_number = computed(() => {
 | 
					    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(() => {
 | 
					    const cpu = computed(() => {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user