Skip to content

Commit

Permalink
Dashboard UI Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitrali-r committed Dec 6, 2022
1 parent d193766 commit d7a9b41
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/admin/configurations/configurations.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ <h3 class="pl-3 h2">{{'SCHEMA' | translate}}</h3>
<div class="row mt-2">
<div class="col-sm-5" *ngFor="let item of schemaItems">
<div
*ngIf="(item.schema._osConfig.certificateTemplates | keyvalue)?.length" >
*ngIf="(item?.schema?._osConfig?.certificateTemplates | keyvalue)?.length" >
<div class="card p-3 mb-3">

<p class="p16 fw-bold">{{ item?.name }}</p>
<div class="d-flex align-items-center">

<img src="{{imgUrl}}" class="float-left mr-2 img16" alt="">
<span class="fs-14 fw-bold" *ngFor="let certName of item.schema._osConfig.certificateTemplates | keyvalue">
<span class="fs-14 fw-bold" *ngFor="let certName of item?.schema?._osConfig?.certificateTemplates | keyvalue">
{{certName.key}}
</span>

Expand Down
1 change: 0 additions & 1 deletion src/app/admin/configurations/configurations.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export class ConfigurationsComponent implements OnInit {
this.tenantConfigList = ['Schema','Workflow','VC Template','Ownership','Roles','Theme']
}
imgUrl="/assets/images/certificate.svg";
temp:any;
ngOnInit(): void {

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
</div>
<div class="l12 fw-bold">{{item?.title}}</div>
</div>


<a href="/add-template/{{usecase}}/{{entityName}}">
<div class="btn img-ht">
<div class="thmbCol">
<div class="pt-c">
Expand All @@ -42,7 +43,8 @@
</div>
</div>
</div>
</div>
</a>
</div>

</div>
<div class="pt-2 ms-3 mb-3"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class CreateVcTemplateComponent implements OnInit {
this.credTemp.push({

"title":Object.keys(a),
"html": res,
"html": res

});

Expand Down

0 comments on commit d7a9b41

Please sign in to comment.