Browse Source

CSS fix and dead code cleaned

pull/587/head
Sebastian 5 years ago
parent
commit
4a9f72c80e
  1. 10
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Comments/CommentsCommandMiddlewareTests.cs
  2. 6
      frontend/app/features/content/pages/comments/comments-page.component.scss

10
backend/tests/Squidex.Domain.Apps.Entities.Tests/Comments/CommentsCommandMiddlewareTests.cs

@ -142,16 +142,6 @@ namespace Squidex.Domain.Apps.Entities.Comments
return new CommandContext(command, commandBus);
}
private static bool IsForUser(ICommand command, string id)
{
return command is CreateComment createComment &&
createComment.CommentsId == id &&
createComment.Mentions == null &&
createComment.AppId == null &&
createComment.ExpectedVersion == EtagVersion.Any &&
createComment.IsMention;
}
private void SetupUser(string id, string email)
{
var user = A.Fake<IUser>();

6
frontend/app/features/content/pages/comments/comments-page.component.scss

@ -0,0 +1,6 @@
sqx-comments {
display: flex;
flex-direction: column;
flex-grow: 1;
height: 100%;
}
Loading…
Cancel
Save