@@ -8,7 +8,7 @@ import { restartableTask } from 'ember-concurrency';
8
8
import { TrackedSet } from ' tracked-built-ins' ;
9
9
10
10
import { AddButton , Tooltip , Pill } from ' @cardstack/boxel-ui/components' ;
11
- import { and , cn , eq , gt , not , or } from ' @cardstack/boxel-ui/helpers' ;
11
+ import { and , cn , eq , gt , not } from ' @cardstack/boxel-ui/helpers' ;
12
12
13
13
import {
14
14
chooseCard ,
@@ -39,7 +39,6 @@ interface Signature {
39
39
submode: Submode ;
40
40
maxNumberOfItemsToAttach? : number ;
41
41
autoAttachedCardTooltipMessage? : string ;
42
- disabled? : boolean ;
43
42
};
44
43
}
45
44
@@ -120,7 +119,7 @@ export default class AiAssistantAttachmentPicker extends Component<Signature> {
120
119
@ iconWidth =' 14'
121
120
@ iconHeight =' 14'
122
121
{{on ' click' this . chooseFile}}
123
- @ disabled ={{( or this . doChooseFile.isRunning @ disabled ) }}
122
+ @ disabled ={{this .doChooseFile.isRunning }}
124
123
data-test-choose-file-btn
125
124
>
126
125
<span class ={{if this . files.length ' boxel-sr-only' }} >
@@ -134,7 +133,7 @@ export default class AiAssistantAttachmentPicker extends Component<Signature> {
134
133
@ iconWidth =' 14'
135
134
@ iconHeight =' 14'
136
135
{{on ' click' this . chooseCard}}
137
- @ disabled ={{( or this . doChooseCard.isRunning @ disabled ) }}
136
+ @ disabled ={{this .doChooseCard.isRunning }}
138
137
data-test-choose-card-btn
139
138
>
140
139
<span class ={{if this . cards.length ' boxel-sr-only' }} >
0 commit comments