Fixes #46 Contact.js change console warn to debug on new contact

This commit is contained in:
Jérémy Munsch 2023-09-05 11:51:50 +02:00
parent 30cda93bde
commit 66784532b4
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -101,7 +101,7 @@ class ContactModel {
set(data) {
const isNew = typeof data.id !== 'string' || !data.id?.length;
if (isNew) {
console.warn('is new', data);
console.debug('is new', data);
// * Set Local UUID until it get synced
//* it will be ignore and new one will be generated by BO
data.id = UuidGenerator.v4();