Skip to content

Commit

Permalink
style: reformat addManagePoliciesOption.js
Browse files Browse the repository at this point in the history
  • Loading branch information
flarum-bot authored and rafaucau committed Jun 16, 2024
1 parent 84721f8 commit 78fef16
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions js/src/forum/components/addManagePoliciesOption.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,15 @@ export default function () {
await updatePolicy(policy, value);
m.redraw();
}}
> { policy.url() ?
<a target="_blank" href={policy.url()}>{policy.name()}</a>
: policy.name()
}
>
{' '}
{policy.url() ? (
<a target="_blank" href={policy.url()}>
{policy.name()}
</a>
) : (
policy.name()
)}
</Switch>
</div>
);
Expand Down

0 comments on commit 78fef16

Please sign in to comment.