File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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;
1616const datatype = route .query .datatype ;
1717const editor = route .query .editor ;
1818const editorContainer = ref (null );
19+ const sideBarText = ref (' Loading editor...' )
1920
2021const oswManager = (editor === ' rapid3' && rapid3Manager ) ? rapid3Manager : rapidManager
2122const 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 ) {
You can’t perform that action at this time.
0 commit comments