mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
update: use correct events for realtime.
This commit is contained in:
+2
-2
@@ -48,7 +48,7 @@
|
||||
onMount(() => {
|
||||
// TODO: @itznotabug, the events need to be fixed then we can use `archives.*`
|
||||
return sdk.forConsole.client.subscribe('console', (response) => {
|
||||
if (response.events.includes('migrations.*')) {
|
||||
if (response.events.includes('archives.*') || response.events.includes('policies.*')) {
|
||||
invalidate(Dependencies.BACKUPS);
|
||||
}
|
||||
});
|
||||
@@ -109,7 +109,7 @@
|
||||
event="empty_documentation"
|
||||
href="https://appwrite.io/docs/products/databases/backups"
|
||||
ariaLabel="create backup"
|
||||
>Documentation
|
||||
>Documentation
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user