diff --git a/src/App.vue b/src/App.vue
index 1e2f7fe..d001ea1 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -3,12 +3,12 @@
-
-
+
{
- // wsEventData.value = JSON.parse(event.data);
- Modal.info({
- title: 'WebSocket Event',
- content: h(VueJsonPretty, { data: JSON.parse(event.data), deep: 2 }),
- width: 600,
- });
+ let report = JSON.parse(event.data);
+ console.info(report);
+ if (report.data.typeName === "AppPromptEvent") {
+ Modal.info({
+ title: 'PROMPT',
+ content: h(VueJsonPretty, { data: report.data.prompt, deep: 2 }),
+ width: 600,
+ });
+ } else {
+ Modal.info({
+ title: 'WebSocket Event',
+ content: h(VueJsonPretty, { data: report, deep: 2 }),
+ width: 600,
+ });
+ }
+
};
}
diff --git a/src/components/ServiceConfigurationActionLog.vue b/src/components/ServiceConfigurationActionLog.vue
index 79fe92e..70458f9 100644
--- a/src/components/ServiceConfigurationActionLog.vue
+++ b/src/components/ServiceConfigurationActionLog.vue
@@ -11,15 +11,21 @@
-
+
-
+
+
+
+
+
+