mirror of
https://github.com/appwrite/console.git
synced 2026-04-07 19:17:46 +00:00
fix: small bugs
This commit is contained in:
@@ -41,11 +41,11 @@
|
||||
return deployment.screenshotDark
|
||||
? getFilePreview(deployment.screenshotDark)
|
||||
: `${base}/images/sites/screenshot-placeholder-dark.svg`;
|
||||
} else {
|
||||
return deployment.screenshotLight
|
||||
? getFilePreview(deployment.screenshotLight)
|
||||
: `${base}/images/sites/screenshot-placeholder-light.svg`;
|
||||
}
|
||||
|
||||
return deployment.screenshotLight
|
||||
? getFilePreview(deployment.screenshotLight)
|
||||
: `${base}/images/sites/screenshot-placeholder-light.svg`;
|
||||
}
|
||||
|
||||
function getFilePreview(fileId: string) {
|
||||
|
||||
@@ -99,12 +99,14 @@
|
||||
</PinkButton.Button>
|
||||
</Layout.Stack>
|
||||
{/each}
|
||||
<Button
|
||||
text
|
||||
compact
|
||||
disabled={newVariables.some((pair) => !pair.key)}
|
||||
on:click={() => (newVariables = [...newVariables, { key: '', value: '' }])}>
|
||||
<Icon slot="start" icon={IconPlus} />Add variable</Button>
|
||||
<div>
|
||||
<Button
|
||||
text
|
||||
compact
|
||||
disabled={newVariables.some((pair) => !pair.key)}
|
||||
on:click={() => (newVariables = [...newVariables, { key: '', value: '' }])}>
|
||||
<Icon slot="start" icon={IconPlus} />Add variable</Button>
|
||||
</div>
|
||||
</Layout.Stack>
|
||||
<Selector.Checkbox
|
||||
size="s"
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
direction="row"
|
||||
gap="xl">
|
||||
<Layout.Stack gap="xxs" inline>
|
||||
<Link variant="quiet" href={`${$protocol}${rule.domain}`} size="m">
|
||||
<Link variant="quiet" href={`${$protocol}${rule.domain}`} size="m" external>
|
||||
<Layout.Stack gap="xs" inline direction="row" alignItems="center">
|
||||
<Trim alternativeTrim>
|
||||
{rule.domain}
|
||||
|
||||
Reference in New Issue
Block a user