mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
address comment.
This commit is contained in:
1 parent
7414b441d6
commit
819a829f41
2 files changed
+3
-3
No files matched your search
@@ -27,7 +27,7 @@
|
||||
let classes: string = '';
|
||||
export { classes as class };
|
||||
export let submissionLoader = false;
|
||||
export let showLoaderAnyway = false;
|
||||
export let forceShowLoader = false;
|
||||
|
||||
const isSubmitting = hasContext('form')
|
||||
? getContext<FormContext>('form').isSubmitting
|
||||
@@ -86,7 +86,7 @@
|
||||
aria-label={ariaLabel}
|
||||
type={submit ? 'submit' : 'button'}
|
||||
--button-width={fullWidth ? '100%' : undefined}>
|
||||
{#if ($isSubmitting && submissionLoader) || (showLoaderAnyway && submissionLoader)}
|
||||
{#if ($isSubmitting && submissionLoader) || (forceShowLoader && submissionLoader)}
|
||||
<span
|
||||
class="loader is-small"
|
||||
style:--p-loader-base-full-color="transparent"
|
||||
|
||||
+1
-1
@@ -236,7 +236,7 @@
|
||||
<Button
|
||||
size="s"
|
||||
on:click={createRepository}
|
||||
showLoaderAnyway={true}
|
||||
forceShowLoader
|
||||
submissionLoader={isCreatingRepository}
|
||||
disabled={!repositoryName ||
|
||||
!$installation?.$id ||
|
||||
|
||||
Reference in new issue
Block a user