From c765d481ac8ed2e37c56de2d10390a8ddbca5c9c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 21 Dec 2019 10:34:30 +0100 Subject: [PATCH] implement navigation actions --- Admin/Install/Navigation.install.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index ee98b32..7b64e55 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -20,8 +20,9 @@ "type": 1, "subtype": 1, "name": "Logout", - "uri": "{/prefix}api/logout?{?}", + "uri": "{/prefix}api/logout", "target": "self", + "action": "[{\"key\": 1, \"listener\": \"click\", \"action\": [{\"key\": 1, \"type\": \"event.prevent\"}, {\"key\": 2, \"type\": \"message.request\", \"uri\": \"/api/logout\", \"method\": \"POST\", \"request_type\": \"raw\"}, {\"key\": 3, \"type\": \"dom.reload\"}]}]", "icon": "fa fa-power-off", "order": 999, "from": "Home",