From cb4df135d85e4d2ef621d9147e68eb47c1462986 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 8 Jul 2017 12:39:24 +0200 Subject: [PATCH] [fix] 'hooks' key is now 'system' in backup info (#165) --- src/js/yunohost/controllers/backup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +})();