[fix] 'hooks' key is now 'system' in backup info (#165)

This commit is contained in:
Alexandre Aubin 2017-07-08 12:39:24 +02:00
parent 8b4f69107d
commit cb4df135d8

View file

@ -133,7 +133,7 @@
}; };
data['other_storages']=[]; data['other_storages']=[];
data['name']=c.params['archive']; 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']!=[]); data['items']=(data['hooks']!={} || data['apps']!=[]);
c.view('backup/backup_info', data); c.view('backup/backup_info', data);
}); });