diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-22 23:55:38 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2025-08-19 23:33:18 +1000 |
| commit | e861c6731ac3c7ebb8fcf565e28669e0341f5265 (patch) | |
| tree | 970d2de9eb8bb7ff0ad552920cc52148f8f52033 /Media.cs | |
| parent | 1cebdd5278155eedb3da8959322133df17625c6c (diff) | |
Fixed ingest toggle button
Gallery now filters out ingest media if now showing NSFW
Diffstat (limited to 'Media.cs')
| -rw-r--r-- | Media.cs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,10 @@ public class Media : HBObject { .Select(t => t.TagDefinition) .Any(td => td.Guid == HBContext.IngestTag); + public bool IsNsfw => Tags + .Select(t => t.TagDefinition) + .Any(td => td.Guid == HBContext.NsfwTag); + public string? DisplayName { get { if(ShortDescription is not null) |
