include vendor and appVersion in support ticket data

pull/1/head
ansuz 3 years ago
parent 7647a60219
commit 2dc4ec1b24

@ -39,7 +39,9 @@ define([
var teams = privateData.teams || {};
if (!ctx.isAdmin) {
data.sender.userAgent = window.navigator && window.navigator.userAgent;
data.sender.userAgent = Util.find(window, ['navigator', 'userAgent']);
data.sender.vendor = Util.find(window, ['navigator', 'vendor']);
data.sender.appVersion = Util.find(window, ['navigator', 'appVersion']);
data.sender.blockLocation = privateData.blockLocation || '';
data.sender.teams = Object.keys(teams).map(function (key) {
var team = teams[key];

Loading…
Cancel
Save