fix: easy fixes from qa

This commit is contained in:
Arman committed 2022-11-02 13:29:31 +01:00
1 parent e5837fec53
commit 143a10c9ac
5 files changed
+9 -14

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@
<Heading tag="h2" size="5">{title}</Heading>
<DropTabs>
<DropTabsLink href={`${path}/24h`} disabled={$page.params.period === '24h'}>
24
24h
</DropTabsLink>
<DropTabsLink
href={`${path}/30d`}
+1 -8
View File
@@ -2,8 +2,7 @@
import { goto } from '$app/navigation';
import { base } from '$app/paths';
import { page } from '$app/stores';
import { Copy, Tab, Tabs } from '$lib/components';
import { Pill } from '$lib/elements';
import { Tab, Tabs } from '$lib/components';
import { Button } from '$lib/elements/forms';
import { isTabSelected } from '$lib/helpers/load';
import { Cover, CoverTitle } from '$lib/layout';
@@ -44,12 +43,6 @@
<CoverTitle>
{$user.name}
</CoverTitle>
<Copy value={$user.$id}>
<Pill button>
<span class="icon-duplicate" aria-hidden="true" />
Project ID
</Pill>
</Copy>
<div class="u-margin-inline-start-auto">
<Button secondary on:click={logout}>Logout</Button>
</div>
@@ -264,14 +264,16 @@
</DropListItem>
</svelte:fragment>
</DropList>
{:else if !$user.phone}
{:else if $user.email}
<Button secondary on:click={() => updateVerificationEmail()}>
{$user.emailVerification ? 'Unverify' : 'Verify'} account
</Button>
{:else if !$user.email}
{:else if $user.phone}
test
<Button secondary on:click={() => updateVerificationPhone()}>
{$user.phoneVerification ? 'Unverify' : 'Verify'} account
</Button>{/if}
</Button>
{/if}
{/if}
</svelte:fragment>
</CardGrid>
@@ -33,7 +33,7 @@
<Cover>
<svelte:fragment slot="header">
<CoverTitle href={`/console/project-${projectId}/authentication`}>
{$user.name}
{$user.name ? $user.name : '-'}
</CoverTitle>
<Copy value={$user.$id}>
<Pill button>
@@ -37,7 +37,7 @@
<TableCellHead width={110}>Status</TableCellHead>
<TableCellHead width={90}>Trigger</TableCellHead>
<TableCellHead width={70}>Type</TableCellHead>
<TableCellHead width={100}>Build Time</TableCellHead>
<TableCellHead width={100}>Execution Time</TableCellHead>
</TableHeader>
<TableBody>
{#each data.executions.executions as execution}