fix(metablogizer): Fix sites list not rendering

The RPC declaration with `expect: { sites: [] }` extracts the array
directly, so data[1] IS the sites array, not an object with .sites property.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-27 12:51:46 +01:00
parent 2bf005f428
commit 585a5d0f6c

View File

@ -136,7 +136,7 @@ return view.extend({
render: function(data) {
var self = this;
var status = data[0] || {};
var sites = (data[1] && data[1].sites) || [];
var sites = data[1] || [];
// Inject styles
var styleEl = document.createElement('style');