mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-09-13 16:30:09 +00:00
test(capability inspector): ensure descriptive compatibility shims are not rendered as commands
(cherry picked from commit 1b0e333d012ca43653c0b088bf50976aa20a421f)
This commit is contained in:
@@ -382,7 +382,7 @@
|
||||
if (attributionOnly && attributionOnly.has(String(surface || ''))) return null;
|
||||
const mapped = (LEGACY_SURFACE_ENDPOINTS[String(capability || '')] || {})[String(surface || '')];
|
||||
if (mapped) return mapped;
|
||||
return { type: 'command', label: String(surface || '').trim() };
|
||||
return null;
|
||||
}
|
||||
|
||||
function shimEndpoints(shims, type, onlyHits) {
|
||||
|
||||
Reference in New Issue
Block a user