mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-27 19:03:39 +03:00
🚨 Resolves lint errors
This commit is contained in:
parent
f1d3547399
commit
fdd936931e
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user