From 9db98a12b48a71cb35fc0c13b0d79e6b15e6c5d7 Mon Sep 17 00:00:00 2001 From: Lino Schmidt Date: Sun, 19 Jun 2022 00:55:35 +0200 Subject: [PATCH] Fixed open folder button for logs --- src/components/ui/mainSide.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/mainSide.tsx b/src/components/ui/mainSide.tsx index 3e094ad..7918501 100644 --- a/src/components/ui/mainSide.tsx +++ b/src/components/ui/mainSide.tsx @@ -27,7 +27,7 @@ function MainSide() { setLogTable(logListName.map((log, index) => { return - openFolder(logList[index].substring(0, logList[index].lastIndexOf('\\')))}>{index+1}. {log} + openFolder(logList[index].substring(0, logList[index].lastIndexOf('\\')).substring(0, logList[index].lastIndexOf('/')))}>{index+1}. {log}