Merge remote-tracking branch 'upstream/main'

This commit is contained in:
jvyden 2022-08-12 21:36:10 -04:00
commit 0471b02472
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
44 changed files with 631 additions and 505 deletions

View file

@ -54,7 +54,8 @@ public class SlotPage : BaseLayout
}
}
if (slot.Hidden && (this.User != slot.Creator && !(bool)this.User?.IsModerator)) return this.NotFound();
if (slot.Hidden || slot.SubLevel && this.User == null && this.User != slot.Creator || !this.User!.IsModerator)
return this.NotFound();
this.Slot = slot;