Browse Source

v0.3.0-unstable19

Yann Stepienik 2 years ago
parent
commit
f80c6a18bb
2 changed files with 14 additions and 1 deletions
  1. 13 0
      client/src/pages/home/index.jsx
  2. 1 1
      package.json

+ 13 - 0
client/src/pages/home/index.jsx

@@ -144,6 +144,19 @@ const HomePage = () => {
                 </Box>
                 </Box>
             </Grid2>
             </Grid2>
         })}
         })}
+
+        {config && config.HTTPConfig.ProxyConfig.Routes.length === 0 && (
+            <Grid2 item xs={12} sm={12} md={12} lg={12} xl={12}>
+                <Box style={{padding: 10, color: 'white', background: 'rgba(0,0,0,0.35)', borderRadius: 5}}>
+                    <Stack direction="row" spacing={2} alignItems="center">
+                        <div style={{width: '100%'}}>
+                            <h3 style={blockStyle}>No Apps</h3>
+                            <p style={blockStyle}>You have no apps configured. Please add some apps in the configuration panel.</p>
+                        </div>
+                    </Stack>
+                </Box>
+            </Grid2>
+        )}
     </Grid2>
     </Grid2>
   </Stack>
   </Stack>
 }
 }

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "cosmos-server",
   "name": "cosmos-server",
-  "version": "0.3.0-unstable18",
+  "version": "0.3.0-unstable19",
   "description": "",
   "description": "",
   "main": "test-server.js",
   "main": "test-server.js",
   "bugs": {
   "bugs": {