feat(ui): pass project type to router view

This commit is contained in:
fiftin 2024-03-11 01:27:23 +01:00
parent 09e94e717d
commit d9ea092c6c
2 changed files with 2 additions and 0 deletions

View File

@ -423,6 +423,7 @@
<v-main>
<router-view
:projectId="projectId"
:projectType="(project || {}).type || ''"
:userPermissions="(userRole || {}).permissions"
:userRole="(userRole || {}).role"
:userId="(user || {}).id"

View File

@ -16,6 +16,7 @@ export default {
props: {
projectId: Number,
projectType: String,
userId: Number,
userPermissions: Number,
userRole: String,