mirror of
https://github.com/bitwarden/browser.git
synced 2025-03-02 03:41:09 +01:00
lint fixes
This commit is contained in:
parent
0d2bf4f7a1
commit
bf885c184f
@ -152,9 +152,9 @@
|
|||||||
|
|
||||||
if ($state.params.viewEvents) {
|
if ($state.params.viewEvents) {
|
||||||
$uibModalStack.dismissAll();
|
$uibModalStack.dismissAll();
|
||||||
var user = $filter('filter')($scope.users, { id: $state.params.viewEvents });
|
var eventUser = $filter('filter')($scope.users, { id: $state.params.viewEvents });
|
||||||
if (user && user.length) {
|
if (eventUser && eventUser.length) {
|
||||||
$scope.events(user[0]);
|
$scope.events(eventUser[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.module('bit.organization')
|
.module('bit.organization')
|
||||||
|
|
||||||
.controller('organizationVaultController', function ($scope, apiService, cipherService, $analytics, $q, $state,
|
.controller('organizationVaultController', function ($scope, apiService, cipherService, $analytics, $q, $state,
|
||||||
$localStorage, $uibModal, $filter, authService, $filter, $uibModalStack) {
|
$localStorage, $uibModal, $filter, authService, $uibModalStack) {
|
||||||
$scope.ciphers = [];
|
$scope.ciphers = [];
|
||||||
$scope.collections = [];
|
$scope.collections = [];
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
angular
|
angular
|
||||||
.module('bit.services')
|
.module('bit.services')
|
||||||
|
|
||||||
.factory('eventService', function (constants, $filter, constants) {
|
.factory('eventService', function (constants, $filter) {
|
||||||
var _service = {};
|
var _service = {};
|
||||||
|
|
||||||
_service.getDefaultDateFilters = function () {
|
_service.getDefaultDateFilters = function () {
|
||||||
|
@ -23,7 +23,7 @@ angular
|
|||||||
_browserCache = constants.deviceType.firefox;
|
_browserCache = constants.deviceType.firefox;
|
||||||
}
|
}
|
||||||
else if (/constructor/i.test(window.HTMLElement) ||
|
else if (/constructor/i.test(window.HTMLElement) ||
|
||||||
safariCheck(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification))) {
|
safariCheck(!window.safari || (typeof safari !== 'undefined' && safari.pushNotification))) {
|
||||||
_browserCache = constants.deviceType.opera;
|
_browserCache = constants.deviceType.opera;
|
||||||
}
|
}
|
||||||
else if (!!document.documentMode) {
|
else if (!!document.documentMode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user