if attribute Id is unknown (and does not match anything in metadata) the frontend breaks. Added more robust frontend display code to handle this case.

fixes #53
This commit is contained in:
Jason Kulatunga
2020-09-30 09:10:42 -06:00
parent adbbcb285a
commit be378bd147
3 changed files with 1626 additions and 6 deletions
@@ -7,6 +7,7 @@ import { sdb } from 'app/data/mock/device/details/sdb';
import { sdc } from 'app/data/mock/device/details/sdc';
import { sdd } from 'app/data/mock/device/details/sdd';
import { sde } from 'app/data/mock/device/details/sde';
import { sdf } from 'app/data/mock/device/details/sdf';
@Injectable({
providedIn: 'root'
@@ -84,7 +85,7 @@ export class DetailsMockApi implements TreoMockApi
return [
200,
_.cloneDeep(sde)
_.cloneDeep(sdf)
];
});
}
File diff suppressed because it is too large Load Diff