Zwischenstand: SharedLauncher wird in BeWoLauncher kopiert, BeWoCore verwendet SharedLauncher aus BeWoLauncher

This commit is contained in:
rene
2021-09-30 12:21:32 +02:00
parent 569d477572
commit e26113d24b
367 changed files with 5440 additions and 10672 deletions

View File

@@ -191,9 +191,9 @@ namespace BeWo.ViewModel
}
else
{
ServiceFacade.DoEmployeeServiceSync(s => _Employee = s.LoadCompactEmployee(BeWoApp.LoggedOnEmployee.EmployeeOid.Value));
ServiceFacade.DoEmployeeServiceSync(s => _Employee = s.LoadCompactEmployee(MainSession.LoggedOnEmployee.EmployeeOid.Value));
if (BeWoApp.LoggedOnUser.HasRight(UserRightType.TextbausteineNurEigeneBearbeiten) && !BeWoApp.LoggedOnUser.HasRight(UserRightType.TextbausteineAlleBearbeiten))
if (MainSession.LoggedOnUser.HasRight(UserRightType.TextbausteineNurEigeneBearbeiten) && !MainSession.LoggedOnUser.HasRight(UserRightType.TextbausteineAlleBearbeiten))
{
_IsOnlyForEmployee = true;
}