diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-09-27 18:21:37 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-09-27 18:21:37 +0200 |
| commit | 2b58ff029107b23617d8c4b246de77876b3bf053 (patch) | |
| tree | 6fc1fe6dd325e0a9d2af211bd3801dc136bc26f9 /apps/kit/src/lib/components/alert.svelte | |
| parent | f8ae7740f4a79d1374e136aba58b4c75f09b1396 (diff) | |
| download | greatoffice-2b58ff029107b23617d8c4b246de77876b3bf053.tar.xz greatoffice-2b58ff029107b23617d8c4b246de77876b3bf053.zip | |
feat: Move frontend into layout group (main)
This enables /book to load without the usual layout (app layout)
Diffstat (limited to 'apps/kit/src/lib/components/alert.svelte')
| -rw-r--r-- | apps/kit/src/lib/components/alert.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/kit/src/lib/components/alert.svelte b/apps/kit/src/lib/components/alert.svelte index 6cc0e63..5bcb3ae 100644 --- a/apps/kit/src/lib/components/alert.svelte +++ b/apps/kit/src/lib/components/alert.svelte @@ -17,12 +17,12 @@ let iconComponent: any; let colorClassPart = ""; - // if no unique id is supplied, cooldown will not work between page loads. - // Therefore we are disabling it with noCooldownSetting in the fallback id. /** * An optional id for this alert, a default is set if not specified. * This value is necessary for closeable cooldown to work. */ + // if no unique id is supplied, cooldown will not work between page loads. + // Therefore we are disabling it with noCooldownSetting in the fallback id. export let id = "alert--" + noCooldownSetting + "--" + random_string(4); /** * The title to communicate, value is optional @@ -42,7 +42,7 @@ export let closeable = false; /** * The amount of seconds that should go by before this alert is shown again, only works when a unique id is set. - * Set to ~ if it should be only shown once per client (State stored in localestorage). + * Set to ~ if it should only be shown once per client (State stored in localestorage). **/ export let closeableCooldown = "-1"; /** |
