Skip to content

Commit

Permalink
fixes the error/warning CSS classname of instruction attachment (#238917
Browse files Browse the repository at this point in the history
)

[prompts]: fixes the error/warning CSS classname of instruction attachment
  • Loading branch information
legomushroom authored Jan 28, 2025
1 parent 8b8b5bb commit 7a3d738
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class InstructionsAttachmentWidget extends Disposable {
const isWarning = !isRootError;

this.domNode.classList.add(
(isWarning) ? 'error' : 'warning',
(isWarning) ? 'warning' : 'error',
);

const errorCaption = (isWarning)
Expand Down

0 comments on commit 7a3d738

Please sign in to comment.