projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug 2121: NG-UI uses unmaintained Chokidar version
[osm/NG-UI.git]
/
src
/
app
/
utilities
/
delete
/
DeleteComponent.ts
diff --git
a/src/app/utilities/delete/DeleteComponent.ts
b/src/app/utilities/delete/DeleteComponent.ts
index
014b66a
..
b403e9b
100644
(file)
--- a/
src/app/utilities/delete/DeleteComponent.ts
+++ b/
src/app/utilities/delete/DeleteComponent.ts
@@
-115,8
+115,6
@@
export class DeleteComponent {
this.title = '';
if (data.name !== undefined) {
this.title = data.name;
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;
} else if (data.projectName !== undefined) {
this.title = data.projectName;
this.id = this.title;
@@
-124,6
+122,8
@@
export class DeleteComponent {
this.title = data.userName;
} else if (data.username !== undefined) {
this.title = data.username;
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 */
}
}
/** Generate Delete url from data @public */