Skip to content

Commit

Permalink
Fix: API token reset not working
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanbedi authored Mar 6, 2024
1 parent 46d1069 commit 105ab97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasource/components/ConfigEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const ConfigEditor = (props: Props) => {
width={40}
placeholder="API token"
isConfigured={options.secureJsonFields && options.secureJsonFields.apiToken}
onReset={() => resetSecureJsonField('apiToken', options, onOptionsChange)}
onReset={resetSecureJsonField('apiToken', options, onOptionsChange)}
onBlur={secureJsonDataChangeHandler('apiToken', options, onOptionsChange)}
/>
</Field>
Expand Down

0 comments on commit 105ab97

Please sign in to comment.