summaryrefslogtreecommitdiff
path: root/Sora/Views/Post/Grid
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Post/Grid')
-rw-r--r--Sora/Views/Post/Grid/PostGridView.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift
index 57d155c..f90bdc2 100644
--- a/Sora/Views/Post/Grid/PostGridView.swift
+++ b/Sora/Views/Post/Grid/PostGridView.swift
@@ -471,6 +471,8 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length
!component.isEmpty
}
+ guard !inputTags.isEmpty else { return }
+
let query = BooruSearchQuery(
provider: manager.provider,
tags: inputTags