🚨 Resolves lint errors

This commit is contained in:
Alicia Sykes 2023-06-04 16:21:58 +01:00
parent f1d3547399
commit fdd936931e
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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,