소스 검색

fix sidebar display when no user

pull/72/head
Jonathan Cobb 4 년 전
부모
커밋
1c4081a05e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/_components/layout/Sidebar.vue

+ 2
- 2
src/_components/layout/Sidebar.vue 파일 보기

@@ -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,
}),



불러오는 중...
취소
저장