From 84e15cccbbe8ec12ae594f6f73671a77a1b2070d Mon Sep 17 00:00:00 2001 From: Svallinn <41585298+Svallinn@users.noreply.github.com> Date: Sun, 13 Jun 2021 12:09:43 +0100 Subject: [PATCH] Store+Vuetools: Remove some leftover artifacts that would break vuetools --- src/renderer/store/modules/invidious.js | 3 +-- src/renderer/store/modules/ytdl.js | 7 +------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/renderer/store/modules/invidious.js b/src/renderer/store/modules/invidious.js index e69f968e1..3ca523920 100644 --- a/src/renderer/store/modules/invidious.js +++ b/src/renderer/store/modules/invidious.js @@ -1,12 +1,11 @@ import $ from 'jquery' const state = { - main: 0, isGetChannelInfoRunning: false } const getters = { - getIsGetChannelInfoRunning ({ state }) { + getIsGetChannelInfoRunning (state) { return state.isGetChannelInfoRunning } } diff --git a/src/renderer/store/modules/ytdl.js b/src/renderer/store/modules/ytdl.js index b4227d1b3..f3addc751 100644 --- a/src/renderer/store/modules/ytdl.js +++ b/src/renderer/store/modules/ytdl.js @@ -8,15 +8,10 @@ import { HttpsProxyAgent } from 'https-proxy-agent' import { HttpProxyAgent } from 'http-proxy-agent' const state = { - main: 0, isYtSearchRunning: false } -const getters = { - getMain ({ state }) { - return state.main - } -} +const getters = {} const actions = { ytSearch ({ commit, dispatch, rootState }, payload) {