mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 16:02:14 +00:00
fix: approval pages now require no auth
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<ItemPicker
|
||||
bind:this={itemPicker}
|
||||
pickCallback={(path, summary) => {
|
||||
dispatch('pick', { path, summary })
|
||||
dispatch('pick', { path, summary, kind })
|
||||
}}
|
||||
itemName={'Script'}
|
||||
extraField="summary"
|
||||
|
||||
@@ -6,22 +6,9 @@
|
||||
import { superadmin, userStore, usersWorkspaceStore, workspaceStore } from '$lib/stores'
|
||||
import { getUserExt, refreshSuperadmin } from '$lib/user'
|
||||
import { sendUserToast } from '$lib/utils'
|
||||
import { SvelteToast } from '@zerodevx/svelte-toast'
|
||||
import { onMount } from 'svelte'
|
||||
import github from 'svelte-highlight/styles/github'
|
||||
|
||||
// Default toast options
|
||||
const toastOptions = {
|
||||
duration: 4000, // duration of progress bar tween to the `next` value
|
||||
initial: 1, // initial progress bar value
|
||||
next: 0, // next progress value
|
||||
pausable: false, // pause progress bar tween on mouse hover
|
||||
dismissable: true, // allow dismiss with close button
|
||||
reversed: false, // insert new toast to bottom of stack
|
||||
intro: { x: 256 }, // toast intro fly animation settings
|
||||
theme: {} // css var overrides
|
||||
}
|
||||
|
||||
const monacoEditorUnhandledErrors = [
|
||||
'Model not found',
|
||||
'Connection is disposed.',
|
||||
@@ -107,12 +94,3 @@
|
||||
</svelte:head>
|
||||
|
||||
<slot />
|
||||
<SvelteToast options={toastOptions} />
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--toastBackground: #eff6ff;
|
||||
--toastBarBackground: #eff6ff;
|
||||
--toastColor: #123456;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user