diff --git a/frontend/src/components/HomeSpeedDial.tsx b/frontend/src/components/HomeSpeedDial.tsx
index 2fd9940..f53ad50 100644
--- a/frontend/src/components/HomeSpeedDial.tsx
+++ b/frontend/src/components/HomeSpeedDial.tsx
@@ -26,8 +26,6 @@ const HomeSpeedDial: React.FC
= ({ onDownloadOpen, onEditorOpen }) => {
const { i18n } = useI18n()
const { client } = useRPC()
- const abort = () => client.killAll()
-
return (
= ({ onDownloadOpen, onEditorOpen }) => {
}
tooltipTitle={i18n.t('abortAllButton')}
- onClick={abort}
+ onClick={() => client.killAll()}
/>
}
diff --git a/frontend/src/types/index.ts b/frontend/src/types/index.ts
index 2b263f4..932804b 100644
--- a/frontend/src/types/index.ts
+++ b/frontend/src/types/index.ts
@@ -76,15 +76,14 @@ export type DirectoryEntry = {
name: string
path: string
size: number
- shaSum: string
modTime: string
isVideo: boolean
isDirectory: boolean
}
-export type DeleteRequest = Pick
+export type DeleteRequest = Pick
-export type PlayRequest = Pick
+export type PlayRequest = DeleteRequest
export type CustomTemplate = {
id: string
diff --git a/frontend/src/views/Archive.tsx b/frontend/src/views/Archive.tsx
index 194af4f..ba675bd 100644
--- a/frontend/src/views/Archive.tsx
+++ b/frontend/src/views/Archive.tsx
@@ -113,7 +113,6 @@ export default function Downloaded() {
modTime: '',
name: '..',
path: upperLevel,
- shaSum: '',
size: 0,
}, ...r.filter(f => f.name !== '')]
: r.filter(f => f.name !== '')
@@ -144,7 +143,6 @@ export default function Downloaded() {
method: 'POST',
body: JSON.stringify({
path: entry.path,
- shaSum: entry.shaSum,
})
}),
matchW(