mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-31 17:57:43 +01:00
only use icon images if not self hosted
This commit is contained in:
parent
0d6c96e38b
commit
d53187935b
@ -1,7 +1,7 @@
|
|||||||
angular
|
angular
|
||||||
.module('bit.services')
|
.module('bit.services')
|
||||||
|
|
||||||
.factory('cipherService', function (cryptoService, apiService, $q, $window, constants) {
|
.factory('cipherService', function (cryptoService, apiService, $q, $window, constants, appSettings) {
|
||||||
var _service = {};
|
var _service = {};
|
||||||
|
|
||||||
_service.decryptCiphers = function (encryptedCiphers) {
|
_service.decryptCiphers = function (encryptedCiphers) {
|
||||||
@ -187,7 +187,7 @@ angular
|
|||||||
};
|
};
|
||||||
|
|
||||||
function setLoginIcon(cipher, uri, setImage) {
|
function setLoginIcon(cipher, uri, setImage) {
|
||||||
if (uri) {
|
if (!appSettings.selfHosted && uri) {
|
||||||
var hostnameUri = uri,
|
var hostnameUri = uri,
|
||||||
isWebsite = false;
|
isWebsite = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user