removed some console.log dumps

This commit is contained in:
mic 2024-05-13 21:59:01 +02:00
parent 58ddddb241
commit 102e613fc8
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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({