refac: reset the shared chats modal search when the modal closes (#29082)
This commit is contained in:
1 file changed
+4
@@ -44,6 +44,10 @@
|
|||||||
export let orderBy = 'updated_at';
|
export let orderBy = 'updated_at';
|
||||||
export let direction = 'desc'; // 'asc' or 'desc'
|
export let direction = 'desc'; // 'asc' or 'desc'
|
||||||
|
|
||||||
|
$: if (!show) {
|
||||||
|
query = '';
|
||||||
|
}
|
||||||
|
|
||||||
export let chatList = null;
|
export let chatList = null;
|
||||||
export let allChatsLoaded = false;
|
export let allChatsLoaded = false;
|
||||||
export let chatListLoading = false;
|
export let chatListLoading = false;
|
||||||
|
|||||||
Reference in new issue
Block a user