Undo olmVersion handling

This commit is contained in:
Travis Ralston 2021-06-01 22:31:08 -06:00
parent c9883f346c
commit 3dc6cfbf34

View file

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