removed some console.log dumps
This commit is contained in:
parent
58ddddb241
commit
102e613fc8
2 changed files with 3 additions and 3 deletions
|
|
@ -473,9 +473,9 @@ async function saveAll() {
|
|||
// newPrompts.forEach(prompt => {
|
||||
// console.log('>>>>>>>>>>>>> id: ' + JSON.stringify(prompt));
|
||||
// });
|
||||
console.log('>>>>>>>>>>>>> saveAll: ' + JSON.stringify(newPrompts));
|
||||
//console.log('>>>>>>>>>>>>> saveAll: ' + JSON.stringify(newPrompts));
|
||||
let newDefaultPrompts = newPrompts.filter(item => item.is_default == 1);
|
||||
console.log('>>>>>>>>>>>>> newDefaultPrompts: ' + JSON.stringify(newDefaultPrompts));
|
||||
//console.log('>>>>>>>>>>>>> newDefaultPrompts: ' + JSON.stringify(newDefaultPrompts));
|
||||
let newCustomPrompts = newPrompts.filter(item => item.is_default == 0);
|
||||
await setDefaultPromptsProperties(newDefaultPrompts);
|
||||
await setCustomPrompts(newCustomPrompts);
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ export class mzta_Menus {
|
|||
}
|
||||
|
||||
addMenu = (menu, root = null) => {
|
||||
for (let item of menu) { console.log(">>>>> item: " + JSON.stringify(item));
|
||||
for (let item of menu) {
|
||||
let {id, is_default, name, menu, act} = item;
|
||||
|
||||
browser.menus.create({
|
||||
|
|
|
|||
Loading…
Reference in a new issue