mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
use boolean
This commit is contained in:
1 parent
e71d9df1dc
commit
8fece89449
4 files changed
+15
-15
No files matched your search
@@ -136,7 +136,7 @@
|
||||
{onSubmit}
|
||||
dismissible={false}
|
||||
autoClose={false}
|
||||
mode="modeless">
|
||||
modeless>
|
||||
<Card.Base variant="secondary" padding="s">
|
||||
<Layout.Stack gap="xxs">
|
||||
<Typography.Text gap="m">
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
};
|
||||
export let title = '';
|
||||
export let hideFooter = false;
|
||||
export let mode: 'modal' | 'modeless' = 'modal';
|
||||
export let modeless: boolean = false;
|
||||
|
||||
let alert: HTMLElement;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</script>
|
||||
|
||||
<Form isModal {onSubmit}>
|
||||
<Modal {mode} {size} {title} bind:open={show} {hideFooter} {dismissible}>
|
||||
<Modal {modeless} {size} {title} bind:open={show} {hideFooter} {dismissible}>
|
||||
<slot slot="description" name="description" />
|
||||
{#if error}
|
||||
<div bind:this={alert}>
|
||||
|
||||
Reference in new issue
Block a user