await call fix
This commit is contained in:
parent
76bb62274c
commit
a215ae6a52
1 changed files with 2 additions and 2 deletions
|
|
@ -107,14 +107,14 @@ export class mzta_Menus {
|
||||||
only_typed_text = msg_text.only_typed_text.replace(/\s+/g, ' ').trim();
|
only_typed_text = msg_text.only_typed_text.replace(/\s+/g, ' ').trim();
|
||||||
//open chatgpt window
|
//open chatgpt window
|
||||||
//console.log("Click menu item...");
|
//console.log("Click menu item...");
|
||||||
let chatgpt_lang = taPromptUtils.getDefaultLang(curr_prompt);
|
let chatgpt_lang = await taPromptUtils.getDefaultLang(curr_prompt);
|
||||||
|
|
||||||
let fullPrompt = '';
|
let fullPrompt = '';
|
||||||
let tags_full_list = '';
|
let tags_full_list = '';
|
||||||
|
|
||||||
// without the tags related permissions, we can't get the tags list
|
// without the tags related permissions, we can't get the tags list
|
||||||
if(await browser.permissions.contains({permissions: ['messagesTagsList']})){
|
if(await browser.permissions.contains({permissions: ['messagesTagsList']})){
|
||||||
await getTagsList();
|
tags_full_list = await getTagsList();
|
||||||
}
|
}
|
||||||
|
|
||||||
let curr_messages = null;
|
let curr_messages = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue