From 1dfd6954b8cc30798bc77a64b0da78773506a6b1 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 3 Jul 2018 01:04:07 +0200 Subject: [PATCH] [fix] app actions needs domains and users data --- src/js/yunohost/filters.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/yunohost/filters.js b/src/js/yunohost/filters.js index 298168e2..043d7d14 100644 --- a/src/js/yunohost/filters.js +++ b/src/js/yunohost/filters.js @@ -28,6 +28,8 @@ app.before(/domains\/add/, prefetchDomains); app.before(/apps\/install\//, prefetchDomains); 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) {