fix: no method error when conversation is nil (#7566)

This commit is contained in:
Shivam Mishra
2023-07-26 17:40:41 +05:30
committed by GitHub
parent 63dd2c5a93
commit f8ae6cd95c
3 changed files with 10 additions and 10 deletions

View File

@@ -50,6 +50,8 @@ export default {
}
},
async fetchLabelSuggestions({ conversationId }) {
if (!conversationId) return [];
try {
const result = await OpenAPI.processEvent({
type: 'label_suggestion',