fix(cloner): Fix RPC unwrapping in refresh() for images/tokens/clones
Same expect unwrapping bug was present in refresh() function, causing stats to show counts but content to show "No items" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
481ba074db
commit
3e5c246ea8
@ -416,9 +416,10 @@ return view.extend({
|
||||
callGetBuildProgress().catch(function() { return {}; })
|
||||
]).then(function(data) {
|
||||
self.status = data[0] || {};
|
||||
self.images = data[1].images || [];
|
||||
self.tokens = data[2].tokens || [];
|
||||
self.clones = data[3].clones || [];
|
||||
// RPC expect unwraps the arrays, so data[n] IS the array
|
||||
self.images = data[1] || [];
|
||||
self.tokens = data[2] || [];
|
||||
self.clones = data[3] || [];
|
||||
self.buildProgress = data[4] || {};
|
||||
|
||||
// Update stats
|
||||
|
||||
Loading…
Reference in New Issue
Block a user