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 (
<>
{options.trailingSlash && (
<>
<TrailingSlashCard enabled={options.trailingSlash} />
<br />
</>
)}
{options.pathOverwrite && (
<>
<PathOverwriteCard data={options.pathOverwrite} />
<br />
</>
)}
{options.pathInjection && (
<>
<PathInjectionCard data={options.pathInjection} />
<br />
</>
)}
{options.keyOverwrite && <KeyOverwriteCard data={options.keyOverwrite} />}
</>