From 5b3b1d82d4a6677bb1a825ea70eb18324021efc5 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 19 Jan 2022 11:22:04 +0000 Subject: [PATCH] Add return URL setting to log out button action --- .../ButtonActionEditor/actions/LogOut.svelte | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ButtonActionEditor/actions/LogOut.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ButtonActionEditor/actions/LogOut.svelte index 3434d6348..e36946ee0 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ButtonActionEditor/actions/LogOut.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ButtonActionEditor/actions/LogOut.svelte @@ -1,13 +1,38 @@
- This action doesn't require any additional settings. + + + Please enter what URL you would like to be redirected to after logging + out. If you dont' enter a value, you'll be redirected to the login screen. + +
+ + (parameters.returnUrl = value.detail)} + {bindings} + /> +
+