Skip to content

Commit

Permalink
delete reply bug fix and link to relationship fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineatrhea committed Jan 20, 2023
1 parent 39a29b6 commit 7eb204f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UI_DSM.Client/UI_DSM.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyVersion>1.6.4</AssemblyVersion>
<AssemblyVersion>1.6.5</AssemblyVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Blazored.SessionStorage" Version="2.2.0" />
Expand Down
1 change: 1 addition & 0 deletions UI_DSM.Client/ViewModels/App/Comments/CommentsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ private async Task DeleteReply()
/// <param name="reply">The <see cref="Reply" /> to delete</param>
private void AskToDeleteReply(Reply reply)
{
this.selectedComment = reply.EntityContainer as Comment;
this.selectedReply = reply;
this.ReplyConfirmCancelPopupViewModel.IsVisible = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public RelationshipRowViewModel(BinaryRelationship thing, ReviewItem reviewItem,
/// <summary>
/// Gets the Id of the current <see cref="RelationshipRowViewModel" />
/// </summary>
public override string Id => $"{this.SourceName} -> {this.TargetName}";
public override string Id => $"{this.SourceRow.Id} -> {this.TargetRow.Id}";

/// <summary>
/// The <see cref="Guid" /> of the Source <see cref="Thing" />
Expand Down

0 comments on commit 7eb204f

Please sign in to comment.