Skip to content

Commit

Permalink
[Angular] Fix duplicate exports
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Dec 17, 2023
1 parent 2c8c914 commit cce5930
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { mergeMap } from 'rxjs/operators';
import { I<%= entityAngularName %> } from '../<%= entityFileName %>.model';
import { <%= entityAngularName %>Service } from '../service/<%= entityFileName %>.service';

export const <%= entityInstance %>Resolve = (route: ActivatedRouteSnapshot): Observable<null | I<%= entityAngularName %>> => {
const <%= entityInstance %>Resolve = (route: ActivatedRouteSnapshot): Observable<null | I<%= entityAngularName %>> => {
const id = route.params['<%= primaryKey.name %>'];
if (id) {
return inject(<%= entityAngularName %>Service)
Expand Down

0 comments on commit cce5930

Please sign in to comment.