Updated version handing code in application. Small fixes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { Box, Typography, Container, Link, Grid } from "@mui/material";
|
import { Box, Typography, Container, Link, Grid } from "@mui/material";
|
||||||
import { VERSION } from "../version";
|
import { IS_RELEASE, VERSION } from "../version";
|
||||||
|
|
||||||
function Footer() {
|
function Footer() {
|
||||||
return (
|
return (
|
||||||
@@ -19,7 +19,7 @@ function Footer() {
|
|||||||
<Grid size={{ xs: 12, md: 6 }}>
|
<Grid size={{ xs: 12, md: 6 }}>
|
||||||
<Typography variant="body2" color="text.secondary">
|
<Typography variant="body2" color="text.secondary">
|
||||||
<strong>JMESPath Testing Tool</strong>{" "}
|
<strong>JMESPath Testing Tool</strong>{" "}
|
||||||
{VERSION === "unknown" ? VERSION : `v${VERSION}`} - Created for
|
{IS_RELEASE ? VERSION : `${VERSION}-dev`} - Created for
|
||||||
testing and validating JMESPath expressions
|
testing and validating JMESPath expressions
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
@@ -55,4 +55,4 @@ function Footer() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Footer;
|
export default Footer;
|
||||||
|
|||||||
@@ -214,7 +214,6 @@ function MainPage({
|
|||||||
|
|
||||||
<Paper
|
<Paper
|
||||||
sx={{
|
sx={{
|
||||||
mb: 1,
|
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
bgcolor: "background.paper",
|
bgcolor: "background.paper",
|
||||||
border: 1,
|
border: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user