diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-06-22 00:15:14 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-25 02:23:14 +1000 |
| commit | 440071053030579c35216b29aa3f0fe8fc7887b5 (patch) | |
| tree | d331019cbaa11921928f4d1d24765a0a205be54a /Pages/Component | |
| parent | 16aa1d68777f4d5a6f41df6612f2a4535394d334 (diff) | |
Moved internal tag GUIDs to the ApiModels assembly
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(); |
