mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 10:00:17 -04:00
15 lines
382 B
JavaScript
15 lines
382 B
JavaScript
import React from "react";
|
|
import { clientConfig } from "@/services/auth";
|
|
import frontendVersion from "@/version.json";
|
|
|
|
export default function VersionInfo() {
|
|
return (
|
|
<React.Fragment>
|
|
<div>
|
|
Version: {clientConfig.version}
|
|
{frontendVersion !== clientConfig.version && ` (${frontendVersion.substring(0, 8)})`}
|
|
</div>
|
|
</React.Fragment>
|
|
);
|
|
}
|