spark modal title replace doc path with dash

This commit is contained in:
Bobby
2021-06-21 12:36:47 +10:00
parent df740cbd54
commit 1e4a12aba0

View File

@@ -106,7 +106,7 @@ export default function SparksEditor({ requestSnackLog }) {
{tableState?.tablePath
?.split("/")
.filter(function (_, i) {
// replace IDs with subTables that appears at even indexes
// replace IDs with dash that appears at even indexes
return i % 2 === 0;
})
.join("-")}