Client: Store: ProfileActionsStore: Fixed isTeamTrainingAlertAvailable usage

This commit is contained in:
Ilya Oleshko 2024-08-15 12:46:55 +03:00
parent 1b250eaac0
commit bc3728aabf

View File

@ -347,7 +347,7 @@ class ProfileActionsStore {
let bookTraining = null;
if (!isMobile && this.isTeamTrainingAlertAvailable) {
if (!isMobile && this.authStore.isTeamTrainingAlertAvailable) {
bookTraining = {
key: "user-menu-book-training",
icon: BookTrainingReactSvgUrl,