Stop displaying formula after being deleted

This commit is contained in:
Zakary Timson 2019-02-06 21:37:08 -05:00
parent 0286c3ce14
commit bff7ad6c2c

View File

@ -63,7 +63,7 @@ export class FormulaManagerComponent {
} }
delete(formula) { delete(formula) {
this.dialog.open(DeleteComponent, {data: formula}); this.dialog.open(DeleteComponent, {data: formula}).afterClosed().subscribe(() => this.formula = null);
} }
displayFormula(formula) { displayFormula(formula) {