Added user-info link

This commit is contained in:
Douglas Barone 2022-10-25 14:17:45 -04:00
parent 123d27e890
commit 2b322d4c8c
2 changed files with 18 additions and 2 deletions

View File

@ -6,7 +6,19 @@
</v-col>
<v-col>
{{ user.displayName }} <br />
{{ user.displayName }}
<v-btn
v-if="link"
class="text-decoration-none"
text
:to="{ name: 'user-info', query: { username: user.sAMAccountName } }"
icon
small
>
<v-icon small>mdi-open-in-new</v-icon>
</v-btn>
<br />
<small>{{ user.sAMAccountName }}</small>
<DistinguishedNameBreadcrumb :dn="user.dn" />
@ -36,6 +48,10 @@ export default {
user: {
type: Object,
default: () => ({})
},
link: {
type: Boolean,
default: false
}
}
}

View File

@ -6,7 +6,7 @@
<v-container v-if="user">
<v-card class="mb-2">
<v-card-title class="font-weight-regular">
<UserTitle :user="user" />
<UserTitle :user="user" link />
<v-spacer />
</v-card-title>
<v-divider />