File tree Expand file tree Collapse file tree 4 files changed +5771
-10
lines changed Expand file tree Collapse file tree 4 files changed +5771
-10
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ const HealthContainer: React.FC<HealthContainerProps> = React.memo(props => {
22
22
const [ healthChartsArr , setHealthChartsArr ] = useState < JSX . Element [ ] > ( [ ] ) ;
23
23
const { category } = props ;
24
24
const { service } = useParams < keyof Params > ( ) as Params ;
25
+
25
26
useEffect ( ( ) => {
26
27
const temp : JSX . Element [ ] = [ ] ;
27
28
let counter : number = 0 ;
@@ -74,7 +75,9 @@ const HealthContainer: React.FC<HealthContainerProps> = React.memo(props => {
74
75
// return <div>{service !== 'kafkametrics' ? healthChartsArr : []}</div>;
75
76
// JJ-ADDITION
76
77
return (
77
- < div > { ( service !== 'kafkametrics' && service !== 'kubernetesmetrics' ) ? healthChartsArr : [ ] } </ div >
78
+ < div >
79
+ { service !== 'kafkametrics' && service !== 'kubernetesmetrics' ? healthChartsArr : [ ] }
80
+ </ div >
78
81
) ;
79
82
} ) ;
80
83
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ const createWindow = () => {
25
25
26
26
if ( process . env . NODE_ENV === 'development' ) {
27
27
// Development: load the application window to the port in the webpack config
28
- win . loadURL ( 'http://localhost:8080 /' ) ;
28
+ win . loadURL ( 'http://localhost:8081 /' ) ;
29
29
} else {
30
30
// Production
31
31
win . loadFile ( path . resolve ( __dirname , '../index.html' ) ) ;
32
32
}
33
-
33
+
34
34
ipcMain . on ( 'max' , ( ) => {
35
35
if ( ! win . isMaximized ( ) ) win . maximize ( ) ;
36
36
else win . unmaximize ( ) ;
@@ -45,12 +45,10 @@ const createWindow = () => {
45
45
} ) ;
46
46
47
47
win . on ( 'close' , ( ) => {
48
- clearGuestSettings ( )
49
- } )
48
+ clearGuestSettings ( ) ;
49
+ } ) ;
50
50
} ;
51
51
52
-
53
-
54
52
// Invoke the createWindow function when Electron application loads
55
53
app . on ( 'ready' , createWindow ) ;
56
54
You can’t perform that action at this time.
0 commit comments