Compare commits
2 Commits
2af8ce9bb3
...
f77ccd47aa
| Author | SHA1 | Date | |
|---|---|---|---|
| f77ccd47aa | |||
| 006bb4e282 |
@ -12,7 +12,7 @@ class UserService(BaseService):
|
|||||||
|
|
||||||
async def search(self, query, **kwargs):
|
async def search(self, query, **kwargs):
|
||||||
query = query.strip().lower()
|
query = query.strip().lower()
|
||||||
kwarggs["deleted_at"] = None
|
kwargs["deleted_at"] = None
|
||||||
if not query:
|
if not query:
|
||||||
return []
|
return []
|
||||||
results = []
|
results = []
|
||||||
|
|||||||
@ -96,8 +96,8 @@ class STTButton extends HTMLElement {
|
|||||||
.replace(/\?/g, "?\n")
|
.replace(/\?/g, "?\n")
|
||||||
.replace(/\!/g, "!\n");
|
.replace(/\!/g, "!\n");
|
||||||
|
|
||||||
this.targetEl.value = ''; // punctuated;
|
this.targetEl.value = punctuated; // punctuated;
|
||||||
this.simulateTypingWithEvents(this.targetEl, punctuated, 0).then(() => {
|
this.simulateTypingWithEvents(this.targetEl, ' ', 0).then(() => {
|
||||||
const chatInput = document.querySelector('chat-input');
|
const chatInput = document.querySelector('chat-input');
|
||||||
chatInput.finalizeMessage();
|
chatInput.finalizeMessage();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user