;
};
@@ -41,21 +42,26 @@ export function WhatsNewModal({
const releaseNotes: ReleaseNotesType = {
date: new Date(window.getBuildCreation?.() || Date.now()),
version: window.getVersion?.(),
+ header: ,
features: [
- ,
- ,
+ ,
+ ,
+ ,
],
};
- if (releaseNotes.features.length === 1) {
+ if (releaseNotes.features.length === 1 && !releaseNotes.header) {
contentNode = {releaseNotes.features[0]}
;
} else {
contentNode = (
-
- {releaseNotes.features.map(element => {
- return - {element}
;
- })}
-
+ <>
+ {releaseNotes.header ? {releaseNotes.header}
: null}
+
+ {releaseNotes.features.map(element => {
+ return - {element}
;
+ })}
+
+ >
);
}