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}