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