Skip to content

Commit

Permalink
Restructure to add ReportType to Area
Browse files Browse the repository at this point in the history
* Rename Categories to ReportTypes
geraosio committed Aug 20, 2020
1 parent 5c7d26c commit dbd9141
Showing 3 changed files with 198 additions and 169 deletions.
2 changes: 1 addition & 1 deletion src/styles/styles.scss
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ code {
}

.container {
margin: $margin-y-axis $margin-x-axis;
margin: $margin-y-axis $margin-x-axis #{$margin-y-axis * 2} ;
}

.header {
5 changes: 3 additions & 2 deletions src/typings/index.ts
Original file line number Diff line number Diff line change
@@ -17,12 +17,13 @@ export interface Area {
id: string;
name: string;
phones: string[];
reportTypes: ReportType[];
}

export interface ReportType {
id: string;
id?: string;
name: string;
severity: string;
severity: number;
}

export interface Report {
Loading

0 comments on commit dbd9141

Please sign in to comment.