Skip to content

Commit

Permalink
Fixed Formatting and Typings
Browse files Browse the repository at this point in the history
  • Loading branch information
eneufeld authored and edgarmueller committed Dec 12, 2018
1 parent 2700580 commit 0351486
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/angular-material/src/layouts/layout.renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ import {
Layout,
mapStateToLayoutProps,
OwnPropsOfRenderer,
UISchemaElement } from '@jsonforms/core';
UISchemaElement
} from '@jsonforms/core';
import { Subscription } from 'rxjs';

export class LayoutRenderer<T extends Layout>
Expand Down Expand Up @@ -67,7 +68,7 @@ export class LayoutRenderer<T extends Layout>
return elements;
}

trackElement(_index: number, renderProp: OwnPropsOfRenderer) {
trackElement(_index: number, renderProp: OwnPropsOfRenderer): string {
return renderProp ? renderProp.path + JSON.stringify(renderProp.uischema) : null;
}
}
}

0 comments on commit 0351486

Please sign in to comment.