fix: ssr request to user; navbar positioning

This commit is contained in:
2026-01-06 20:36:22 -05:00
parent a912d0463b
commit bffc4e2bf4
9 changed files with 64 additions and 44 deletions
@@ -103,9 +103,9 @@ namespace SharpbinV3.Server.Controllers
var pasteQuery = _db.Pastes.AsNoTracking().Where(p => p.AuthorUUID == user.UUID);
if (!isAuthenticatedUser)
{
if (user.Visibility == 1 || user.Visibility == 2)
if (user.Visibility == 2)
return NotFound();
else
else if (user.Visibility != 1)
pasteQuery = pasteQuery.Where(p => p.Visibility == 0);
}