Skip to content

Commit

Permalink
fix(core): allow clearing of run as user field in triggers (#7045)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry authored May 22, 2019
1 parent 2466379 commit fc1cd1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class RunAsUser extends React.Component<IRunAsUserProps> {
className={selectClasses}
options={serviceAccountOptions}
value={value || ''}
onChange={(o: Option<string>) => onChange(o.value)}
onChange={(o: Option<string>) => onChange(o ? o.value : undefined)}
placeholder="Select Run As User"
/>
</div>
Expand Down

0 comments on commit fc1cd1b

Please sign in to comment.