sort version keys
This commit is contained in:
parent
f0feb6bb73
commit
c389bbff28
|
@ -28,17 +28,19 @@ export default function About() {
|
||||||
versionInfoDict: ObjectWithStringKeysAndValues | null
|
versionInfoDict: ObjectWithStringKeysAndValues | null
|
||||||
) => {
|
) => {
|
||||||
if (versionInfoDict !== null && Object.keys(versionInfoDict).length) {
|
if (versionInfoDict !== null && Object.keys(versionInfoDict).length) {
|
||||||
const tableRows = Object.keys(versionInfoDict).map((key) => {
|
const tableRows = Object.keys(versionInfoDict)
|
||||||
const value = versionInfoDict[key];
|
.sort()
|
||||||
return (
|
.map((key) => {
|
||||||
<tr key={key}>
|
const value = versionInfoDict[key];
|
||||||
<td className="version-info-column">
|
return (
|
||||||
<strong>{key}</strong>
|
<tr key={key}>
|
||||||
</td>
|
<td className="version-info-column">
|
||||||
<td className="version-info-column">{value}</td>
|
<strong>{key}</strong>
|
||||||
</tr>
|
</td>
|
||||||
);
|
<td className="version-info-column">{value}</td>
|
||||||
});
|
</tr>
|
||||||
|
);
|
||||||
|
});
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h2 title="This information is configurable by specifying values in version_info.json in the app at build time">
|
<h2 title="This information is configurable by specifying values in version_info.json in the app at build time">
|
||||||
|
|
Loading…
Reference in New Issue