Skip to content

Commit

Permalink
dreamfactorysoftware#304 - Fix create admin user error
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Aug 21, 2024
1 parent 00d9bcd commit 51392fd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ export abstract class DfUserDetailsBaseComponent<T> implements OnInit {
}
});
this.activatedRoute.data.subscribe(({ type, data, apps, roles }) => {
this.snackbarService.setSnackbarLastEle(data.name, true);
if (data) {
this.snackbarService.setSnackbarLastEle(data.name, true);
}
this.type = type;
if (this.userType === 'users') {
this.apps = apps.resource;
Expand Down

0 comments on commit 51392fd

Please sign in to comment.