summaryrefslogtreecommitdiff
path: root/Pages/Component
diff options
context:
space:
mode:
Diffstat (limited to 'Pages/Component')
-rw-r--r--Pages/Component/AboutDialog.razor2
-rw-r--r--Pages/Component/TagSelectDialog.razor2
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();