mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Update artifact name after sending message
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
import type { EventHandler } from 'svelte/elements';
|
||||
import { sdk } from '$lib/stores/sdk';
|
||||
import { page } from '$app/state';
|
||||
import { invalidate } from '$app/navigation';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
|
||||
type Props = {
|
||||
width: number;
|
||||
@@ -70,6 +72,9 @@
|
||||
throw new Error(`${response.status} Error: ${await response.text()}`);
|
||||
}
|
||||
|
||||
invalidate(Dependencies.ARTIFACTS);
|
||||
console.log('invalidating artifacts');
|
||||
|
||||
parser.chunk(message, 'user');
|
||||
message = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user