From cc621cdca62a71db8843459391a3d47209d2b8ae Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 5 Sep 2024 01:35:05 +0200 Subject: [PATCH] [UI] Support both string and objects on the `Response` component. --- .../webapp/src/components/Action/Response.vue | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/platypush/backend/http/webapp/src/components/Action/Response.vue b/platypush/backend/http/webapp/src/components/Action/Response.vue index e1bf0c6561..55ff647fff 100644 --- a/platypush/backend/http/webapp/src/components/Action/Response.vue +++ b/platypush/backend/http/webapp/src/components/Action/Response.vue @@ -31,8 +31,13 @@ export default { name: 'Response', mixins: [Utils], props: { - response: String, - error: String, + response: { + type: [String, Object], + }, + + error: { + type: [String, Object], + }, }, computed: { @@ -57,4 +62,14 @@ export default {