mirror of https://github.com/vector-im/riot-web
Undo olmVersion handling
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…
Reference in New Issue