Skip to content

Commit

Permalink
Fix set value in dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Apr 27, 2024
1 parent dd8fa18 commit 3a9fdb7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/actions/set-dictionary-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import {renderActionHeader} from "~/render";
import {actions, actionText} from "~/actions";

interface SetDictionaryValueParameters {
WFInput: string | object
WFDictionary: string | object
WFDictionaryKey: string | object
WFGetDictionaryValueType: string | object
WFDictionaryValue: string | object
}

export default {
Expand All @@ -15,11 +15,11 @@ export default {
icon: 'book_fill',
render: (container: HTMLElement, params: SetDictionaryValueParameters) => {
return renderActionHeader(actions['setvalueforkey'],
renderValue(params['WFInput'], 'Key'),
renderValue(params['WFDictionaryKey'], 'Key'),
actionText('to'),
renderValue(params['WFGetDictionaryValueType'], 'Value'),
renderValue(params['WFDictionaryValue'], 'Value'),
actionText('in'),
renderValue(params['WFInput'], 'Dictionary'),
renderValue(params['WFDictionary'], 'Dictionary'),
);
}
}

0 comments on commit 3a9fdb7

Please sign in to comment.