Messages compétences troncs en notifications
Lors d'une création de perso, ça spamme trop le tchat
This commit is contained in:
parent
fa3334273d
commit
ee9e7d2adb
@ -880,10 +880,7 @@ export class RdDActor extends RdDBaseActor {
|
|||||||
for (let troncName of tronc) {
|
for (let troncName of tronc) {
|
||||||
message += "<br>" + troncName;
|
message += "<br>" + troncName;
|
||||||
}
|
}
|
||||||
ChatMessage.create({
|
ui.notifications.info(message);
|
||||||
whisper: ChatMessage.getWhisperRecipients(this.name),
|
|
||||||
content: message
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
const update = { _id: competence.id, 'system.niveau': nouveauNiveau };
|
const update = { _id: competence.id, 'system.niveau': nouveauNiveau };
|
||||||
await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
|
await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
|
||||||
|
Loading…
Reference in New Issue
Block a user