ForwardOptionsAdvancedComponent fix

master
Tudor Stanciu 2021-05-16 17:49:46 +03:00
parent 1a69dbce19
commit e7696170a0
1 changed files with 12 additions and 3 deletions

View File

@ -9,13 +9,22 @@ const ForwardOptionsAdvancedComponent = ({ options }) => {
return ( return (
<> <>
{options.trailingSlash && ( {options.trailingSlash && (
<>
<TrailingSlashCard enabled={options.trailingSlash} /> <TrailingSlashCard enabled={options.trailingSlash} />
<br />
</>
)} )}
{options.pathOverwrite && ( {options.pathOverwrite && (
<>
<PathOverwriteCard data={options.pathOverwrite} /> <PathOverwriteCard data={options.pathOverwrite} />
<br />
</>
)} )}
{options.pathInjection && ( {options.pathInjection && (
<>
<PathInjectionCard data={options.pathInjection} /> <PathInjectionCard data={options.pathInjection} />
<br />
</>
)} )}
{options.keyOverwrite && <KeyOverwriteCard data={options.keyOverwrite} />} {options.keyOverwrite && <KeyOverwriteCard data={options.keyOverwrite} />}
</> </>