Added dev checker
This commit is contained in:
parent
145f390044
commit
78dd6a2dc6
@ -25,6 +25,11 @@ export const DashboardInfo = () => {
|
|||||||
<Typography paragraph>
|
<Typography paragraph>
|
||||||
Current Build: {metadata.buildMajor}.{metadata.buildMinor}.{metadata.buildRevision} {metadata.buildTag}
|
Current Build: {metadata.buildMajor}.{metadata.buildMinor}.{metadata.buildRevision} {metadata.buildTag}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
{['DEV', 'ALPHA', 'BETA'].includes(metadata.buildTag) && (
|
||||||
|
<Typography paragraph sx={{ color: 'warning.main' }}>
|
||||||
|
Warning: This is a {metadata.buildTag} build. Some features may not be stable. Build may contain bugs and bumps
|
||||||
|
</Typography>
|
||||||
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user