diff --git a/src/js/yunohost/controllers/backup.js b/src/js/yunohost/controllers/backup.js index 389e81d1..dad40d4d 100644 --- a/src/js/yunohost/controllers/backup.js +++ b/src/js/yunohost/controllers/backup.js @@ -133,7 +133,7 @@ }; data['other_storages']=[]; data['name']=c.params['archive']; - data['hooks']=c.groupHooks(Object.keys(data['hooks'])); + data['hooks']=c.groupHooks(Object.keys(data['system'])); data['items']=(data['hooks']!={} || data['apps']!=[]); c.view('backup/backup_info', data); }); @@ -156,4 +156,4 @@ }); }); -})(); \ No newline at end of file +})();