1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

hide file download features on edge

This commit is contained in:
Kyle Spearrin
2017-08-28 23:47:35 -04:00
parent 751281a59c
commit bf703b6880
7 changed files with 34 additions and 18 deletions

View File

@@ -1,8 +1,9 @@
angular
.module('bit.tools')
.controller('toolsController', function ($scope, SweetAlert, i18nService, $analytics) {
.controller('toolsController', function ($scope, SweetAlert, i18nService, $analytics, utilsService) {
$scope.i18n = i18nService;
$scope.showExport = !utilsService.isEdge();
$scope.launchWebVault = function (createOrg) {
$analytics.eventTrack('Launch Web Vault' + (createOrg ? ' For Share' : ''));
chrome.tabs.create({ url: 'https://vault.bitwarden.com/#/' + (createOrg ? '?org=free' : '') });