mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: remove inline alert not exhisting
This commit is contained in:
1 parent
fe73fe0329
commit
80907ef47b
2 files changed
+2
-4
No files matched your search
@@ -2,7 +2,6 @@
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import type { Buttons } from '../stores/notifications';
|
||||
|
||||
export let isInline = false;
|
||||
export let dismissible = false;
|
||||
export let type: 'info' | 'success' | 'warning' | 'error' = 'info';
|
||||
export let standalone = false;
|
||||
@@ -20,8 +19,7 @@
|
||||
class:is-success={type === 'success'}
|
||||
class:is-warning={type === 'warning'}
|
||||
class:is-danger={type === 'error'}
|
||||
class:is-info={type === 'info'}
|
||||
class:is-inline={isInline}>
|
||||
class:is-info={type === 'info'}>
|
||||
<div class="alert-grid">
|
||||
{#if dismissible}
|
||||
<button
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
{#if !$func.logging}
|
||||
<div class="common-section">
|
||||
<Alert type="info" isInline>
|
||||
<Alert type="info" standalone>
|
||||
<svelte:fragment slot="title">Your execution logs are disabled</svelte:fragment>
|
||||
|
||||
To see the latest execution logs, enable them in your
|
||||
|
||||
Reference in new issue
Block a user