mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-21 12:45:16 +02:00
🚨 Resolves lint errors
This commit is contained in:
parent
f1d3547399
commit
fdd936931e
@ -54,7 +54,7 @@ export default {
|
|||||||
},
|
},
|
||||||
processData(data) {
|
processData(data) {
|
||||||
const self = this;
|
const self = this;
|
||||||
const fltr = function (entry) {
|
const fltr = (entry) => {
|
||||||
if (self.filtertags === null) return true;
|
if (self.filtertags === null) return true;
|
||||||
for (let i = 0; i < self.filtertags.length; i += 1) {
|
for (let i = 0; i < self.filtertags.length; i += 1) {
|
||||||
if (entry.tag_names.includes(self.filtertags[i])) return true;
|
if (entry.tag_names.includes(self.filtertags[i])) return true;
|
||||||
|
@ -104,7 +104,9 @@ export default {
|
|||||||
async processData(data) {
|
async processData(data) {
|
||||||
if (this.parseLocally) {
|
if (this.parseLocally) {
|
||||||
const parser = new Parser();
|
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 = {
|
this.meta = {
|
||||||
title,
|
title,
|
||||||
link,
|
link,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user