Skip to content

Commit

Permalink
wip8
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Mandrikov committed Jan 10, 2024
1 parent c8054dd commit 6a2f077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions enapter-commands-panel/src/components/CommandSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export const CommandSelect: React.FC = () => {

updatePanel((draft) => {
draft.currentCommand = draft.commands[v.value!];
draft.shouldRunWithoutConfirmation = false;

if (data) {
Object.entries(data).forEach(([argName, value]: [string, any]) => {
Expand Down
1 change: 1 addition & 0 deletions enapter-commands-panel/src/components/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export const Panel: React.FC<PanelProps<{ commandButton: PanelState }>> = (props
<LoadingPlaceholder text={'Populating arguments...'} />
) : (
<>
<p>{currentCommand?.description}</p>
{currentCommand?.confirmation && (
<>
<Alert
Expand Down

0 comments on commit 6a2f077

Please sign in to comment.