Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Alba María Álvarez
/
front_recipes
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c7b56a91
authored
Aug 29, 2025
by
Alba María Álvarez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
perf(UserDetail): cambio en la extracción del rol de usuario
parent
1a8c3ad3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
src/views/UserDetail.vue
src/views/UserDetail.vue
View file @
c7b56a91
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</div>
<div
class=
"col-12"
>
<div
class=
"col-12"
>
<p
class=
"mb-1 text-muted"
><strong>
Rol
</strong></p>
<p
class=
"mb-1 text-muted"
><strong>
Rol
</strong></p>
<p
class=
"fw-bold"
>
{{
auth
Store
.
user
?.
role
}}
</p>
<p
class=
"fw-bold"
>
{{
user
Store
.
user
?.
role
}}
</p>
</div>
</div>
</div>
</div>
...
@@ -98,12 +98,10 @@
...
@@ -98,12 +98,10 @@
</
template
>
</
template
>
<
script
setup
>
<
script
setup
>
import
{
useAuthStore
}
from
'@/stores/authStore'
;
import
{
useUserStore
}
from
'@/stores/userStore'
;
import
{
useUserStore
}
from
'@/stores/userStore'
;
import
{
onMounted
,
ref
}
from
'vue'
;
import
{
onMounted
,
ref
}
from
'vue'
;
const
userStore
=
useUserStore
();
const
userStore
=
useUserStore
();
const
authStore
=
useAuthStore
();
const
mode
=
ref
(
'view'
);
const
mode
=
ref
(
'view'
);
// Datos del usuario
// Datos del usuario
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment