File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ function createWindow() {
1818 // assign win to an instance of a new browser window.
1919 win = new BrowserWindow ( {
2020 // giving our window its width
21- width : 900 ,
21+ width : 1920 ,
2222 // giving our window its hieght
23- height : 800 ,
23+ height : 1080 ,
2424 // specify the path of the icon -- Which icon is this?.. note too tsure --> Ousman
2525 icon : path . join ( __dirname , 'app/assets/icons/icon.png' ) ,
2626 // enable node inegreation --> node intgeration, default is usally false --> Ousman
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import ServiceDetails from '../components/ServiceDetails.jsx';
77const { ipcRenderer } = window . require ( 'electron' ) ;
88
99const Microservices = ( props ) => {
10- const { index, setDetails } = props ;
10+ const { index, setDetails, setSelection } = props ;
1111 // Overview state used to create service buttons
1212 const [ overviewState , setOverviewState ] = useState ( [ ] ) ;
1313 // const [detailsSelected, setDetails] = useState();
@@ -57,6 +57,7 @@ const Microservices = (props) => {
5757 setDetails (
5858 < ServiceDetails service = { element . currentmicroservice } />
5959 ) ;
60+
6061 } ) ;
6162 // setSelection(<Monitoring detailsSelected={detailsSelected} />);
6263 } }
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const DashboardContainer = () => {
88 // Used to hold the buttons created for each database found in context.
99 const [ serviceSelected , setSelection ] = useState ( ) ;
1010 const [ detailsSelected , setDetails ] = useState ( ) ;
11+
1112 return (
1213 < div className = "servicesDashboardContainer" >
1314 < SidebarContainer setSelection = { setSelection } setDetails = { setDetails } />
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import Microservices from '../AComp/Microservices.jsx';
77import ServicesList from '../AComp/ServicesList.jsx' ;
88import AddService from '../components/AddService.jsx' ;
99import DeleteService from '../components/DeleteService.jsx' ;
10- // import Monitoring from './MonitoringContainer.jsx';
1110import '../stylesheets/sidebar.css' ;
1211
1312const { ipcRenderer } = window . require ( 'electron' ) ;
@@ -17,7 +16,7 @@ const SidebarContainer = (props) => {
1716 // Used to toggle setup required if user wants to add a new database.
1817 const setup = useContext ( SetupContext ) ;
1918
20- const { setSelection, setDetails} = props ;
19+ const { setSelection, setDetails } = props ;
2120
2221
2322 // List of the databases saved by users to track microservices.
You can’t perform that action at this time.
0 commit comments