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
1 changed files with 2 additions and 2 deletions

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;