Updated version handing code in application. Small fixes.

This commit is contained in:
2026-02-02 06:58:16 +01:00
parent 62f7ec5a7c
commit 25d4668661
2 changed files with 3 additions and 4 deletions

View File

@@ -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>

View File

@@ -214,7 +214,6 @@ function MainPage({
<Paper
sx={{
mb: 1,
flexShrink: 0,
bgcolor: "background.paper",
border: 1,