perf(UserDetail): cambio en la extracción del rol de usuario

parent 1a8c3ad3
Showing with 1 additions and 3 deletions
......@@ -33,7 +33,7 @@
</div>
<div class="col-12">
<p class="mb-1 text-muted"><strong>Rol</strong></p>
<p class="fw-bold">{{ authStore.user?.role }}</p>
<p class="fw-bold">{{ userStore.user?.role }}</p>
</div>
</div>
......@@ -98,12 +98,10 @@
</template>
<script setup>
import { useAuthStore } from '@/stores/authStore';
import { useUserStore } from '@/stores/userStore';
import { onMounted, ref } from 'vue';
const userStore = useUserStore();
const authStore = useAuthStore();
const mode = ref('view');
// Datos del usuario
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment