mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] app actions needs domains and users data
This commit is contained in:
parent
3c5a23d7da
commit
1dfd6954b8
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@
|
||||||
app.before(/domains\/add/, prefetchDomains);
|
app.before(/domains\/add/, prefetchDomains);
|
||||||
app.before(/apps\/install\//, prefetchDomains);
|
app.before(/apps\/install\//, prefetchDomains);
|
||||||
app.before(/apps\/install\//, prefetchUsers);
|
app.before(/apps\/install\//, prefetchUsers);
|
||||||
|
app.before(/apps\/\w+\/actions/, prefetchUsers);
|
||||||
|
app.before(/apps\/\w+\/actions/, prefetchDomains);
|
||||||
|
|
||||||
|
|
||||||
app.before({except: {path: ['#/logout', '#/login', '#/postinstall', '#/postinstall/domain', '#/postinstall/password']}}, function (req) {
|
app.before({except: {path: ['#/logout', '#/login', '#/postinstall', '#/postinstall/domain', '#/postinstall/password']}}, function (req) {
|
||||||
|
|
Loading…
Reference in a new issue