Skip to content

Commit 66ccf06

Browse files
committed
Allow configuration highlighting when invocation is disabled
- when disabled invocation, should still highlight selected configuration └── packages └── ui └── src └── components └── editor └── prompt └── Configurations ├── Configurations.module.scss ├── Configurations.stories.tsx ├── Configurations.tsx └── index.ts
1 parent 22eba33 commit 66ccf06

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎packages/ui/src/components/editor/prompt/Configurations/Configurations.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export const Configurations: React.FC<Configurations.Props> = (props) => {
5454
key={configuration.id}
5555
className={cn(styles.configurations__item, {
5656
[styles['configurations__item--highlighted']]:
57-
!props.disable_invocation &&
5857
active_configuration_id == configuration.id,
5958
[styles['configurations__item--disabled-invocation']]:
6059
props.disable_invocation

0 commit comments

Comments
 (0)