Skip to content

Commit 17e29df

Browse files
Copilotabchatrajwunderl
authored
Remove Ask AI criteria from catalog dialog (microsoft#11050)
* Initial plan * Remove Ask AI criteria from catalog and sample checklist Co-authored-by: abchatra <6107272+abchatra@users.noreply.github.com> * Filter out AI question criteria from catalog display instead of removing from config Co-authored-by: jwunderl <5615930+jwunderl@users.noreply.github.com> * Move AI question filtering to getCatalogCriteria helper Co-authored-by: jwunderl <5615930+jwunderl@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: abchatra <6107272+abchatra@users.noreply.github.com> Co-authored-by: jwunderl <5615930+jwunderl@users.noreply.github.com> Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
1 parent e6185c5 commit 17e29df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎teachertool/src/state/helpers.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ export function getSafeChecklistName(state: AppState): string | undefined {
8282
}
8383

8484
export function getCatalogCriteria(state: AppState): CatalogCriteria[] {
85-
return state.catalog?.filter(c => !c.hideInCatalog) ?? [];
85+
return state.catalog?.filter(c => !c.hideInCatalog && c.use !== "ai_question") ?? [];
8686
}

0 commit comments

Comments
 (0)