Minimal changes to the change log update window
parent
6a2b592817
commit
1435042413
|
@ -112,7 +112,7 @@ export const WhatsNew = (props: { changesUI?: ChangeLog, changesClient?: ChangeL
|
|||
infoText = <VariadicTranslatable key={"info-native-ui"} text={"The native clients UI has been updated to the version from 18.08.2020."}>{versionUIDate}</VariadicTranslatable>;
|
||||
}
|
||||
|
||||
const changes = [ changesUI, changesClient ].filter(e => !!e);
|
||||
const changes = [ changesClient, changesUI ].filter(e => !!e);
|
||||
return (
|
||||
<div className={cssStyle.container}>
|
||||
<div className={cssStyle.info}>
|
||||
|
|
|
@ -3,7 +3,7 @@ import * as loader from "tc-loader";
|
|||
import {Stage} from "tc-loader";
|
||||
import {setUIUpdater} from "tc-shared/update/index";
|
||||
import {Updater} from "tc-shared/update/Updater";
|
||||
import {LogCategory, logError, logWarn} from "tc-shared/log";
|
||||
import {LogCategory, logError} from "tc-shared/log";
|
||||
|
||||
const ChangeLogContents: string = require("../../../ChangeLog.md");
|
||||
const EntryRegex = /^\* \*\*([0-9]{2})\.([0-9]{2})\.([0-9]{2})\*\*$/m;
|
||||
|
@ -47,9 +47,6 @@ function parseChangeLogEntry(lines: string[], index: number) : { entries: Change
|
|||
currentEntry = trimmed.substr(1).trim();
|
||||
}
|
||||
} else {
|
||||
if(typeof currentEntry === "undefined")
|
||||
throw "this should never happen!";
|
||||
|
||||
currentEntry += "\n" + trimmed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue