From fdd936931ece65d891ce7500ba9a53074b3396f3 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 4 Jun 2023 16:21:58 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Resolves=20lint=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Widgets/Linkding.vue | 2 +- src/components/Widgets/RssFeed.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Widgets/Linkding.vue b/src/components/Widgets/Linkding.vue index 8f8c47c4..188fe9f2 100644 --- a/src/components/Widgets/Linkding.vue +++ b/src/components/Widgets/Linkding.vue @@ -54,7 +54,7 @@ export default { }, processData(data) { const self = this; - const fltr = function (entry) { + const fltr = (entry) => { if (self.filtertags === null) return true; for (let i = 0; i < self.filtertags.length; i += 1) { if (entry.tag_names.includes(self.filtertags[i])) return true; diff --git a/src/components/Widgets/RssFeed.vue b/src/components/Widgets/RssFeed.vue index 6faf0899..de9857aa 100644 --- a/src/components/Widgets/RssFeed.vue +++ b/src/components/Widgets/RssFeed.vue @@ -104,7 +104,9 @@ export default { async processData(data) { if (this.parseLocally) { const parser = new Parser(); - const { link, title, items, author, description, image } = await parser.parseString(data); + const { + link, title, items, author, description, image, + } = await parser.parseString(data); this.meta = { title, link,