1
0

fix(views): make tests for project history kind of work again

This commit is contained in:
kolaente
2024-03-19 00:47:25 +01:00
parent 4b903c4f48
commit 511c9aa824
3 changed files with 31 additions and 7 deletions

View File

@ -31,7 +31,6 @@ watch(
if (viewId === 0) {
// Ideally, we would do that in the router redirect, but we the projects (and therefore, the views)
// are not always loaded then.
console.log('views', projectId, projectStore.projects)
const viewId = projectStore.projects[projectId].views[0].id
router.replace({
name: 'project.view',