mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
stuff.
This commit is contained in:
1 parent
8bc5fa2126
commit
60caefad85
1 file changed
+5
-4
@@ -22,10 +22,11 @@
|
||||
import { columns } from './store';
|
||||
import { View } from '$lib/helpers/load';
|
||||
import Table from './table.svelte';
|
||||
import { onMount } from 'svelte';
|
||||
/*import { onMount } from 'svelte';
|
||||
import { invalidate } from '$app/navigation';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { sdk } from '$lib/stores/sdk';
|
||||
import { realtime, sdk } from '$lib/stores/sdk';
|
||||
import { page } from '$app/state';*/
|
||||
|
||||
export let data;
|
||||
|
||||
@@ -48,13 +49,13 @@
|
||||
|
||||
$updateCommandGroupRanks({ sites: 1000 });
|
||||
|
||||
onMount(() => {
|
||||
/*onMount(() => {
|
||||
return sdk.forConsole.realtime.subscribe('console', (response) => {
|
||||
if (response.events.includes('sites.*')) {
|
||||
invalidate(Dependencies.SITES);
|
||||
}
|
||||
});
|
||||
});
|
||||
});*/
|
||||
</script>
|
||||
|
||||
<Container>
|
||||
|
||||
Reference in new issue
Block a user