|
@@ -8,8 +8,8 @@
|
|
|
<li class="profileData-w">
|
|
|
<div class="dropdown">
|
|
|
<button class="btn dropdown-toggle buttonW" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
- <img src="{{dataLoginUser.photo ? authSer.pathImg + dataLoginUser.photo : authSer.imgSrc}}" title="imageProfile" alt="" />
|
|
|
- {{ dataLoginUser.name ? dataLoginUser.name : '' }}
|
|
|
+ <img src="{{dataLoginUser? authSer.pathImg + dataLoginUser.photo : authSer.imgSrc}}" title="imageProfile" alt="" />
|
|
|
+ {{ dataLoginUser? dataLoginUser.name : 'user' }}
|
|
|
</button>
|
|
|
<div class="dropdown-menu" style="text-align:right" aria-labelledby="dropdownMenuButton">
|
|
|
<button class="dropdown-item" style="cursor: pointer;" >
|
|
@@ -133,8 +133,8 @@
|
|
|
<li class="profileData-w">
|
|
|
<div class="dropdown">
|
|
|
<button class="btn dropdown-toggle buttonW" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
- <img src="{{authSer.dataLoginUser['photo'] ? authSer.pathImg + authSer.dataLoginUser['photo'] : authSer.imgSrc}}" title="imageProfile" alt="" />
|
|
|
- {{ authSer.dataLoginUser['name'] }}
|
|
|
+ <img src="{{dataLoginUser? authSer.pathImg + dataLoginUser.photo : authSer.imgSrc}}" title="imageProfile" alt="" />
|
|
|
+ {{ dataLoginUser? dataLoginUser.name : 'user' }}
|
|
|
</button>
|
|
|
<div class="dropdown-menu" style="text-align:right" aria-labelledby="dropdownMenuButton">
|
|
|
<button class="dropdown-item" style="cursor: pointer;" >
|