mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] 'hooks' key is now 'system' in backup info (#165)
This commit is contained in:
parent
8b4f69107d
commit
cb4df135d8
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
|
@ -156,4 +156,4 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue