fix(027): stabilize shared acceptance gates and compatibility collateral
This commit is contained in:
@@ -48,7 +48,7 @@ describe('AssistantChatPanel integration contract', () => {
|
||||
const source = fs.readFileSync(COMPONENT_PATH, 'utf-8');
|
||||
|
||||
expect(source).toContain('<!-- [DEF' + ':AssistantChatPanel:Component] -->');
|
||||
expect(source).toContain('@TIER' + ': CRITICAL');
|
||||
expect(source).toContain('@COMPLEXITY: 5');
|
||||
expect(source).toContain('@UX_STATE: LoadingHistory');
|
||||
expect(source).toContain('@UX_STATE: Sending');
|
||||
expect(source).toContain('@UX_STATE: Error');
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
let { reports = [], selectedReportId = null, onselect } = $props();
|
||||
|
||||
function handleSelect(event) {
|
||||
if (onselect) onselect({ report: event.detail.report });
|
||||
const report = event?.detail?.report ?? event?.report ?? null;
|
||||
if (onselect && report) onselect({ report });
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user