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:
parent
0d6c96e38b
commit
d53187935b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user