mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Correctly pull in client version from package.json
This commit is contained in:
@@ -20,6 +20,7 @@ var MatrixClientPeg = require("../../MatrixClientPeg");
|
|||||||
var React = require("react");
|
var React = require("react");
|
||||||
var q = require('q');
|
var q = require('q');
|
||||||
var dis = require("../../dispatcher");
|
var dis = require("../../dispatcher");
|
||||||
|
var version = require('../../../package.json').version;
|
||||||
|
|
||||||
var ComponentBroker = require('../../ComponentBroker');
|
var ComponentBroker = require('../../ComponentBroker');
|
||||||
|
|
||||||
@@ -34,7 +35,7 @@ module.exports = {
|
|||||||
displayName: null,
|
displayName: null,
|
||||||
avatarUrl: null,
|
avatarUrl: null,
|
||||||
threePids: [],
|
threePids: [],
|
||||||
clientVersion: "v0.X.Y",
|
clientVersion: version,
|
||||||
phase: this.Phases.Loading,
|
phase: this.Phases.Loading,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user