Undo olmVersion handling

pull/21833/head
Travis Ralston 2021-06-01 22:31:08 -06:00
parent c9883f346c
commit 3dc6cfbf34
1 changed files with 1 additions and 1 deletions

View File

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