IsPublic Routine
This commit is contained in:
@@ -94,6 +94,13 @@ namespace BeWo.ViewModel
|
||||
set => SetProperty(ref _Steps, value, nameof(Steps));
|
||||
}
|
||||
|
||||
public bool CanShareEdit
|
||||
{
|
||||
get => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModulePromptbausteinShare)
|
||||
&& Creator?.EmployeeOid is long owner
|
||||
&& owner == BeWoApp.CompactLoggedOnEmployee.EmployeeOid;
|
||||
}
|
||||
|
||||
public string FavoritenHeader => IsFavorite ? "Favorit entfernen" : "Favorit hinzufügen";
|
||||
|
||||
public override bool IsDirty => base.IsDirty || Steps.IsDirty;
|
||||
|
||||
Reference in New Issue
Block a user