Closed alex-stout closed 5 years ago
This code looks good to me, going to test it out locally and wait for the docker PR before merging 👍
Would we be able to add this to the models/device.js:exports.upsertFullInventory
method as well? Probably right after exports.getFullInventoryByJSSAndServerId
. That way this value will be stored in the mongo db as well and can be used for reporting.
On line around 415 of device.js could just add existingDevice.general.is_active = yourFunction()
Resolves #3
Wait to merge until dockerizing PR is merged. I think somehow my branch got out of wack
Device Table:
Report Dropdown: