fix: remove inline alert not exhisting

This commit is contained in:
Arman committed 2023-08-10 16:34:53 +02:00
1 parent fe73fe0329
commit 80907ef47b
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -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
@@ -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