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