fix frontend errors

This commit is contained in:
Ruben Fiszel
2022-11-27 21:29:13 +01:00
parent 48c7ed129d
commit a45eff0cee
3 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
export let kind: 'script' | 'trigger' | 'approval' | 'failure' = 'script'
let items: HubItem[] = []
let items: Item[] = []
let filteredItems: Item[] | undefined = []
let itemsFilter = ''

View File

@@ -24,12 +24,13 @@ export const usersWorkspaceStore = writable<UserWorkspaceList | undefined>(undef
export const superadmin = writable<String | false | undefined>(undefined)
export const hubScripts = writable<
| Array<{
path: string
summary: string
approved: boolean
kind: string
app: string
}>
path: string
summary: string
approved: boolean
kind: string
app: string
ask_id: number
}>
| undefined
>(undefined)

View File

@@ -18,7 +18,6 @@
import CenteredModal from '$lib/components/CenteredModal.svelte'
import { getUserExt, refreshSuperadmin } from '$lib/user'
import { Button } from '$lib/components/common'
import { x86asm } from 'svelte-highlight/languages'
let email = $page.url.searchParams.get('email') ?? ''
let password = $page.url.searchParams.get('password') ?? ''