Skip to content

Commit b878838

Browse files
authored
VCST-879: The last login date and time indicates the current date/time instead of NA (#2776)
fix: Resolves the issue that the last login date and time indicates the current date/time instead of NA if last login date is null or undefined.
1 parent 1644119 commit b878838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VirtoCommerce.Platform.Web/wwwroot/js/app/security/blades/account-detail.tpl.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
</li>
3939
<li class="list-item">
4040
<div class="list-t">{{ 'platform.blades.account-detail.labels.last-login-date' | translate }}</div>
41-
<div class="list-descr" ng-if="blade.currentEntity.lastLoginDate !== null">{{ blade.currentEntity.lastLoginDate | amParse | date:'medium' }}</div>
42-
<div class="list-descr" ng-if="blade.currentEntity.lastLoginDate === null">N/A</div>
41+
<div class="list-descr" ng-if="blade.currentEntity.lastLoginDate != null">{{ blade.currentEntity.lastLoginDate | amParse | date:'medium' }}</div>
42+
<div class="list-descr" ng-if="blade.currentEntity.lastLoginDate == null">N/A</div>
4343
</li>
4444
</ul>
4545
</script>

0 commit comments

Comments
 (0)