diff --git a/.vscode/launch.json b/.vscode/launch.json index a79728f3..866a9b9b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -84,7 +84,7 @@ "--port", "8082" ], - "runtimeExecutable": "npm", + "runtimeExecutable": "yarn", "type": "node", "cwd": "${workspaceFolder}/ui", "env": { diff --git a/ui/components/History.vue b/ui/components/History.vue index 9573bbe1..b335b489 100644 --- a/ui/components/History.vue +++ b/ui/components/History.vue @@ -224,8 +224,6 @@ import moment from "moment"; import { useStorage } from '@vueuse/core' import LazyLoader from './LazyLoader' import { makeDownload, formatBytes, ucFirst } from '~/utils/index' -import { useConfigStore } from '~/store/ConfigStore'; -import { useStateStore } from '~/store/StateStore'; const emits = defineEmits(['deleteItem', 'addItem', 'playItem', 'archiveItem']) const config = useConfigStore() diff --git a/ui/components/NewDownload.vue b/ui/components/NewDownload.vue index 7ca8c00c..2fa6d5d3 100644 --- a/ui/components/NewDownload.vue +++ b/ui/components/NewDownload.vue @@ -6,7 +6,7 @@
+ :disabled="!socket.isConnected || addInProgress" v-model="url"> @@ -19,9 +19,9 @@
- +
@@ -35,27 +35,23 @@
+ :disabled="!socket.isConnected" list="directories">
@@ -84,7 +80,7 @@
+ :disabled="!socket.isConnected">
Some config fields are ignored like cookiefile, path, and output_format etc. @@ -101,7 +97,7 @@
+ :disabled="!socket.isConnected">
Use something like flagCookies @@ -112,7 +108,7 @@
-