|
|
@@ -2867,7 +2867,7 @@ from desktop.views import _ko
|
|
|
|
|
|
ChatPanel.prototype.answer = function () {
|
|
|
let self = this;
|
|
|
- if (self.query.trim() === '') {
|
|
|
+ if (self.query().trim() === '') {
|
|
|
return
|
|
|
}
|
|
|
self.messages.push({type:'user', content: self.query().trim()});
|