From 29c0b697676f76b42be8b4665798fcf4d63714ca Mon Sep 17 00:00:00 2001 From: pionnegru Date: Tue, 7 Jan 2020 20:33:31 +0200 Subject: [PATCH] declare user actions entries --- src/assets/plugins/app.header.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/assets/plugins/app.header.json b/src/assets/plugins/app.header.json index 8e582c131..5ad36ae22 100644 --- a/src/assets/plugins/app.header.json +++ b/src/assets/plugins/app.header.json @@ -22,6 +22,26 @@ ], "features": { + "userActions": [ + { + "id": "app.languagePicker", + "order": 100, + "type": "custom", + "component": "app.languagePicker", + "rules": { + "visible": "app.canShowLanguagePicker" + } + }, + { + "id": "app.logout", + "order": 200, + "type": "custom", + "component": "app.logout", + "rules": { + "visible": "app.canShowLogout" + } + } + ], "header": [ { "id": "app.header.more",