fix(cloner): Map discovery_enabled field for Factory tab UI
Backend returns discovery_enabled but UI expected enabled property. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
ea9a86d485
commit
164647b1e0
@ -590,6 +590,8 @@ return view.extend({
|
||||
renderFactoryTab: function() {
|
||||
var self = this;
|
||||
var disco = this.discoveryStatus || {};
|
||||
// Map backend field name to UI expected name
|
||||
disco.enabled = disco.discovery_enabled;
|
||||
var pendingCount = this.pendingDevices.length;
|
||||
var inventoryCount = this.hwInventory.length;
|
||||
var profileCount = this.profiles.length;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user