mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
Correctly pull in client version from package.json
This commit is contained in:
parent
02045858f7
commit
5d99abf18c
1 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ var MatrixClientPeg = require("../../MatrixClientPeg");
|
|||
var React = require("react");
|
||||
var q = require('q');
|
||||
var dis = require("../../dispatcher");
|
||||
var version = require('../../../package.json').version;
|
||||
|
||||
var ComponentBroker = require('../../ComponentBroker');
|
||||
|
||||
|
@ -34,7 +35,7 @@ module.exports = {
|
|||
displayName: null,
|
||||
avatarUrl: null,
|
||||
threePids: [],
|
||||
clientVersion: "v0.X.Y",
|
||||
clientVersion: version,
|
||||
phase: this.Phases.Loading,
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue