Pārlūkot izejas kodu

fix sidebar display when no user

pull/72/head
Jonathan Cobb pirms 4 gadiem
vecāks
revīzija
1c4081a05e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      src/_components/layout/Sidebar.vue

+ 2
- 2
src/_components/layout/Sidebar.vue Parādīt failu

@@ -1,6 +1,6 @@
<!-- Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ -->
<template>
<aside class="sidebar">
<aside v-if="currentUser && currentUser.name" class="sidebar">
<!-- Logo -->
<div class="d-flex align-items-center logo">
<router-link to="/">
@@ -275,7 +275,7 @@ export default {
},

data: () => ({
currentUser: util.currentUser(),
currentUser: util.currentUser() || {name: null, email: null},
menuVisible: false,
}),



Notiek ielāde…
Atcelt
Saglabāt