Address PR #1214 review nits
- Hoist previewUri() to a const in ResourceTemplatePanel to avoid duplicate computation - Include resource.title in subscriptions search filter for consistency with resources and templates filters Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8c9aac6df1
commit
995c06948c
1 changed files with 5 additions and 2 deletions
|
|
@ -70,6 +70,7 @@ export function ResourceControls({
|
|||
const filteredSubscriptions = subscriptions.filter(
|
||||
(s) =>
|
||||
s.resource.name.toLowerCase().includes(query) ||
|
||||
(s.resource.title?.toLowerCase().includes(query) ?? false) ||
|
||||
s.resource.uri.toLowerCase().includes(query),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue