mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
created entity type message
This commit is contained in:
@@ -426,7 +426,11 @@ class EditModalView extends ModalView {
|
||||
|
||||
if (wasNew) {
|
||||
const url = `#${this.scope}/view/${model.id}`;
|
||||
const name = model.attributes[this.nameAttribute] || this.model.id;
|
||||
let name = model.attributes[this.nameAttribute];
|
||||
|
||||
if (name === undefined) {
|
||||
name = this.translate(this.scope, 'scopeNames');
|
||||
}
|
||||
|
||||
const msg = this.translate('Created') + '\n' +
|
||||
`[${name}](${url})`;
|
||||
|
||||
Reference in New Issue
Block a user