Skip to content

Commit

Permalink
Fix custom prompt usage
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Apr 24, 2020
1 parent df3eadb commit 241a9ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const LogsSettingsPage = () => {
restrictWidth
data-test-subj="sourceConfigurationContent"
>
<Prompt when={isFormDirty} message={unsavedFormPromptMessage} />
<Prompt prompt={isFormDirty ? unsavedFormPromptMessage : undefined} />
<EuiPanel paddingSize="l">
<NameConfigurationPanel
isLoading={isLoading}
Expand Down

0 comments on commit 241a9ed

Please sign in to comment.