feat: changed the language of the ReportEntrys to English, started to work on Board Locks, !removed PermissionInteger; as it was not needed anymore!

fix: minor bugfixes while posting & commenting, changed Au.razor and E.razor around
This commit is contained in:
limited_dev 2023-02-27 14:34:41 +01:00
parent 6881a5d009
commit 8ebc78b754
11 changed files with 59 additions and 32 deletions

View file

@ -107,7 +107,11 @@
}
bool hasImage = selectedFile != null;
if (postUsername == null || postUsername == "")
{
postUsername = "Anonymous";
}
CommentData commentToCreate;
if (hasImage)
{

View file

@ -137,6 +137,10 @@
ImageLocation = $"/img/dynamic/op/{@board.Tag}/{@file}"
};
int imageID = await ImagesRepository.createImageAsync(imageToUpload);
if (postUsername == null || postUsername == "")
{
postUsername = "Anonymous";
}
var postToPost = new PostData
{
UserID = userID,