mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Undo olmVersion handling
This commit is contained in:
parent
c9883f346c
commit
3dc6cfbf34
@ -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…
x
Reference in New Issue
Block a user