Skip to content

Commit 4906bf8

Browse files
committed
work in progress with more changes
1 parent 176ced3 commit 4906bf8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pages/workspace/[id]/rapid.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="pageContainer">
33
<div ref="editorContainer" class="rapidEditorContainer"></div>
44
<div class="sidebar">
5-
<p class="text-center mt-3">Loading editor...</p>
5+
<p class="text-center mt-3">{{ sideBarText }}</p>
66
<p> Add the action items here based on the selected workspace and editor.</p>
77
</div>
88
</div>
@@ -16,6 +16,7 @@ const workspaceId = route.params.id;
1616
const datatype = route.query.datatype;
1717
const editor = route.query.editor;
1818
const editorContainer = ref(null);
19+
const sideBarText = ref('Loading editor...')
1920
2021
const oswManager = (editor === 'rapid3' && rapid3Manager) ? rapid3Manager : rapidManager
2122
const manager = datatype === 'osw' ? oswManager : pathwaysManager
@@ -38,6 +39,7 @@ onMounted(() => {
3839
}
3940
rapidManager.onStateChange((changes) => {
4041
console.log('Rapid state changed:', changes);
42+
sideBarText.value = `Rapid state changed: ${JSON.stringify(changes)}`;
4143
});
4244
4345
if (!manager.loaded.value) {

0 commit comments

Comments
 (0)