init
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
</button>
|
||||
<div class="layout-topbar-logo">
|
||||
<img [src]="logo" width="32" />
|
||||
<span class="text-xl">صندوق فروشگاهی</span>
|
||||
<span class="text-xl">مدیریت کسبوکار</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ export class AppTopbar {
|
||||
this.layoutService.layoutConfig.update((state) => ({ ...state, darkTheme: !state.darkTheme }));
|
||||
}
|
||||
|
||||
username = computed(() => this.authService.currentUser()?.fullName || 'کاربر ناشناس');
|
||||
username = computed(() => this.authService.currentAccount()?.username || 'کاربر ناشناس');
|
||||
|
||||
logout = () => {
|
||||
this.authService.logout();
|
||||
|
||||
Reference in New Issue
Block a user