Build pass 1

This commit is contained in:
Travis Ralston 2021-06-01 22:21:04 -06:00
parent 5b2dacd99e
commit c9883f346c
7 changed files with 22 additions and 16 deletions

View file

@ -227,7 +227,7 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
const appVersion = this.state.appVersion || 'unknown';
let olmVersion = MatrixClientPeg.get().olmVersion;
let olmVersion: string = MatrixClientPeg.get().olmVersion?.toString();
olmVersion = olmVersion ? `${olmVersion[0]}.${olmVersion[1]}.${olmVersion[2]}` : '<not-enabled>';
let updateButton = null;