Fix routing error when initially loading Data page
This commit is contained in:
parent
caee5e3cd9
commit
2b31f7d8a1
|
@ -4,7 +4,7 @@
|
|||
import { tables } from "stores/backend"
|
||||
|
||||
onMount(async () => {
|
||||
$tables.list.length > 0 && $goto(`../${$tables.list[0]._id}`)
|
||||
$tables.list.length > 0 && $goto(`./${$tables.list[0]._id}`)
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue