Skip to content

Commit bfe5eac

Browse files
mhuang-mlaebadirad
authored andcommitted
Updating Issue #578: Update the deletion message (#937)
Removing the double confirmation dialog and updating the deletion message that is displayed to the user to make it clearer to what they are deleting.
1 parent ba11a55 commit bfe5eac

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

quick-start/src/main/ui/app/entity-modeler/entity-modeler.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,7 @@ export class EntityModelerComponent implements AfterViewChecked {
292292
deleteEntity(entity: Entity) {
293293
let result = this.dialogService.confirm(`Delete the ${entity.name} entity?\n\nAny flows associated with the entity will also be deleted.`, 'No', 'Yes');
294294
result.subscribe(() => {
295-
let confirmResult = this.dialogService.confirm(`Are you sure really want to delete the ${entity.name} entity as it will delete the entity and all associated flows and code?`, 'No', 'Yes');
296-
confirmResult.subscribe(() => {
297-
this.entitiesService.deleteEntity(entity);
298-
}, () => {});
295+
this.entitiesService.deleteEntity(entity);
299296
}, () => {});
300297
}
301298

0 commit comments

Comments
 (0)