mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-16 05:51:57 +01:00
fix: remove items
This commit is contained in:
@@ -34,12 +34,8 @@ export const useDownloadedFileOpener = () => {
|
||||
const openFile = useCallback(
|
||||
async (item: BaseItemDto) => {
|
||||
try {
|
||||
console.log(
|
||||
"Go to offline movie",
|
||||
"/player?offline=true&itemId=" + item.Id
|
||||
);
|
||||
// @ts-expect-error
|
||||
router.push("/player?offline=true&itemId=" + item.Id);
|
||||
router.push("/player/direct-player?offline=true&itemId=" + item.Id);
|
||||
} catch (error) {
|
||||
writeToLog("ERROR", "Error opening file", error);
|
||||
console.error("Error opening file:", error);
|
||||
|
||||
Reference in New Issue
Block a user