From 7851467397366cab74157d913ae0d1c9f79a49d1 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 3 Dec 2021 16:55:07 +0000 Subject: [PATCH] :zap: Refactors and improves the icon component --- src/components/LinkItems/ItemIcon.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LinkItems/ItemIcon.vue b/src/components/LinkItems/ItemIcon.vue index 41786b8e..0cfa4872 100644 --- a/src/components/LinkItems/ItemIcon.vue +++ b/src/components/LinkItems/ItemIcon.vue @@ -159,7 +159,7 @@ export default { const faviconApi = faviconIdentifier.split('favicon-')[1]; if (!faviconApi) { errorMsg = 'Favicon API not specified'; - } else if (!Object.keys(faviconApiEndpoints).includes(faviconApi)) { + } else if (!Object.keys(faviconApiEndpoints).includes(faviconApi) && faviconApi !== 'local') { errorMsg = `The specified favicon API, '${faviconApi}' cannot be found.`; } else { return this.getFavicon(fullUrl, faviconApi);