Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed May 23, 2024
1 parent 9b45878 commit 4c0661f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bidiMapper/modules/context/BrowsingContextImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,9 @@ export class BrowsingContextImpl {
context: this.id,
type: params.type,
message: params.message,
defaultValue: params.defaultPrompt,
...(params.type === 'prompt'
? {defaultValue: params.defaultPrompt}
: {}),
},
},
this.id
Expand Down

0 comments on commit 4c0661f

Please sign in to comment.