Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions ab-testing/frontend/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import AudienceBreakdown from '$lib/components/AudienceBreakdown.svelte';
</script>

<h1 class="headline">A/B Tests</h1>
<h1 class="headline">A/B Tests (Beta)</h1>
<section>
<p>
This page provides an overview of currently running A/B tests on
Expand All @@ -31,8 +31,12 @@
</p>
</section>
<section>
<AudienceBreakdown tests={activeABtests} />
<Table tests={allABTests} />
{#if activeABtests.length > 0}
<AudienceBreakdown tests={activeABtests} />
<Table tests={allABTests} />
{:else}
<p>There are <b>no active</b> A/B tests currently configured!</p>
{/if}
</section>

<style>
Expand Down
Loading