add profile link

This commit is contained in:
hay-kot 2021-05-06 11:19:05 -08:00
commit 5921922472

View file

@ -2,7 +2,7 @@
<div> <div>
<v-navigation-drawer v-model="showSidebar" width="180px" clipped app> <v-navigation-drawer v-model="showSidebar" width="180px" clipped app>
<template v-slot:prepend> <template v-slot:prepend>
<v-list-item two-line v-if="isLoggedIn"> <v-list-item two-line v-if="isLoggedIn" to="/admin/profile">
<v-list-item-avatar color="accent" class="white--text"> <v-list-item-avatar color="accent" class="white--text">
<img :src="userProfileImage" v-if="!hideImage" @error="hideImage = true" /> <img :src="userProfileImage" v-if="!hideImage" @error="hideImage = true" />
<div v-else> <div v-else>