1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-27 17:18:04 +01:00

only use icon images if not self hosted

This commit is contained in:
Kyle Spearrin 2017-10-23 15:35:46 -04:00
parent 0d6c96e38b
commit d53187935b

View File

@ -1,7 +1,7 @@
angular
.module('bit.services')
.factory('cipherService', function (cryptoService, apiService, $q, $window, constants) {
.factory('cipherService', function (cryptoService, apiService, $q, $window, constants, appSettings) {
var _service = {};
_service.decryptCiphers = function (encryptedCiphers) {
@ -187,7 +187,7 @@ angular
};
function setLoginIcon(cipher, uri, setImage) {
if (uri) {
if (!appSettings.selfHosted && uri) {
var hostnameUri = uri,
isWebsite = false;