Skip to content

Commit

Permalink
Issue #1: Unable to delete common schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratikshakhandagale committed Jan 10, 2023
1 parent 68de034 commit 8f0045c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/admin/create-entity/create-entity.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ export class CreateEntityComponent implements OnInit {


deleteEntity(i, action) {
if (i) {
if (i || !action) {
this.deleteingOsid = (this.usecaseSchema[i].osid) ? this.usecaseSchema[i].osid : '';
this.index = i;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class CreateVcTemplateComponent implements OnInit, OnChanges {


injectHTML() {
console.log(this.credTemp)

setTimeout(() => {
for (let i = 0; i < this.credTemp.length; i++) {
let iframe: HTMLIFrameElement = document.getElementById('iframe' + i) as HTMLIFrameElement;
Expand Down

0 comments on commit 8f0045c

Please sign in to comment.