this.title = '';
if (data.name !== undefined) {
this.title = data.name;
- } else if (data.shortName !== undefined) {
- this.title = data.shortName;
} else if (data.projectName !== undefined) {
this.title = data.projectName;
this.id = this.title;
this.title = data.userName;
} else if (data.username !== undefined) {
this.title = data.username;
+ } else if (data.productName !== undefined) {
+ this.title = data.productName;
}
}
/** Generate Delete url from data @public */
} else if (data.page === 'k8-repo') {
this.deleteURL = environment.K8REPOS_URL;
this.notifyMessage = 'DELETEDSUCCESSFULLY';
+ } else if (data.page === 'osmrepo') {
+ this.deleteURL = environment.OSMREPOS_URL;
+ this.notifyMessage = 'DELETEDSUCCESSFULLY';
}
}
/** Generate Data function @public */