mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge branch 'ui-fixes' into title-updates
This commit is contained in:
2 files changed
+4
-1
No files matched your search
+2
-1
@@ -35,7 +35,8 @@ export default ts.config(
|
||||
'svelte/no-reactive-literals': 'off',
|
||||
// TODO: @itznotabug, this requires a big refactor!
|
||||
'svelte/no-navigation-without-resolve': 'off',
|
||||
'svelte/prefer-svelte-reactivity': 'off'
|
||||
'svelte/prefer-svelte-reactivity': 'off',
|
||||
'svelte/prefer-writable-derived': 'off'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -17,6 +17,7 @@ const CDN_URL =
|
||||
const DEV_OVERRIDE_WEB_COMPONENTS = env?.PUBLIC_AI_OVERRIDE_WEB_COMPONENTS === 'true';
|
||||
|
||||
let component: HTMLElement | null = null;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
let webComponentsModule: Record<string, any> | null = null;
|
||||
let configInitialized = false;
|
||||
let routingInitialized = false;
|
||||
@@ -119,6 +120,7 @@ export async function getWebComponents() {
|
||||
/**
|
||||
* Navigate to a route in the web components
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export async function navigateToRoute(...args: any[]) {
|
||||
try {
|
||||
const { navigateToRoute: navigate } = await getWebComponents();
|
||||
|
||||
Reference in new issue
Block a user