mirror of
https://github.com/LinoSchmidt/StickExporterTX.git
synced 2026-03-21 10:00:47 +01:00
Fixed full path logs on linux
This commit is contained in:
@@ -22,7 +22,7 @@ function MainSide() {
|
||||
|
||||
const logListName:string[] = [];
|
||||
logList.forEach(log => {
|
||||
logListName.push(log.split('\\')[log.split('\\').length - 1].replace(".csv", ""));
|
||||
logListName.push(log.split('\\')[log.split('\\').length - 1].split('/')[log.split('/').length - 1].replace(".csv", ""));
|
||||
});
|
||||
|
||||
setLogTable(logListName.map((log, index) => {
|
||||
|
||||
Reference in New Issue
Block a user