Undo olmVersion handling
This commit is contained in:
parent
c9883f346c
commit
3dc6cfbf34
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue