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 for Bug 1495 NG-UI does not start on Air-gapped environments.
[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
4baee64
..
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 */
@@
-171,6
+171,9
@@
export class DeleteComponent {
} else if (data.page === 'k8-repo') {
this.deleteURL = environment.K8REPOS_URL;
this.notifyMessage = 'DELETEDSUCCESSFULLY';
} 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 */
}
}
/** Generate Data function @public */