diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-06-21 21:02:44 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-25 12:26:07 +1000 |
| commit | 713867bbda8322a0938d6b8f0c850752622fdd42 (patch) | |
| tree | 1f8c4e58480471aecdee37e3f734c4c1211e16b1 /Pages/Component | |
| parent | 79d383f6f48df0078e6ba13239f9c4c94fbc9ea6 (diff) | |
Diffstat (limited to 'Pages/Component')
| -rw-r--r-- | Pages/Component/AboutDialog.razor | 2 | ||||
| -rw-r--r-- | Pages/Component/TagSelectDialog.razor | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Pages/Component/AboutDialog.razor b/Pages/Component/AboutDialog.razor index 1229dc7..d1082bc 100644 --- a/Pages/Component/AboutDialog.razor +++ b/Pages/Component/AboutDialog.razor @@ -702,7 +702,7 @@ using var db = dbFactory.CreateDbContext(); progress = ( Untagged: db.Media - .Where(m => m.Tags.Any(t => t.TagDefinition.ObjectId == (int) HBObjectId.IngestTag)) + .Where(m => m.Tags.Any(t => t.TagDefinition.ObjectId == (int) ApiModels.HBObjectId.IngestTag)) .Count(), Total: db.Media.Count() ); diff --git a/Pages/Component/TagSelectDialog.razor b/Pages/Component/TagSelectDialog.razor index d33b178..26a35a2 100644 --- a/Pages/Component/TagSelectDialog.razor +++ b/Pages/Component/TagSelectDialog.razor @@ -91,7 +91,7 @@ int[] nsfwTags = Array.Empty<int>(); if(!userService.UserSessionState.ShowNsfw) - nsfwTags = tagService.TagsThatImply(HBContext.NsfwTag) + nsfwTags = tagService.TagsThatImply(ApiModels.InternalTag.NsfwTag) .Select(td => td.ObjectId) .ToArray(); |
