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:
parent
6881a5d009
commit
8ebc78b754
11 changed files with 59 additions and 32 deletions
|
@ -107,7 +107,11 @@
|
|||
}
|
||||
|
||||
bool hasImage = selectedFile != null;
|
||||
|
||||
if (postUsername == null || postUsername == "")
|
||||
{
|
||||
postUsername = "Anonymous";
|
||||
}
|
||||
|
||||
CommentData commentToCreate;
|
||||
if (hasImage)
|
||||
{
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue