Skip to content

Commit 7b2d472

Browse files
committed
Removed theme variable. Removed commented lines
1 parent 4968957 commit 7b2d472

File tree

7 files changed

+3
-15
lines changed

7 files changed

+3
-15
lines changed

src/app/app.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<ng-container *ngIf="(authService.isAuthenticated$ | async) as isAuthenticated">
2-
<app-navigation *ngIf="isAuthenticated" [class]="themeClass()"></app-navigation>
3-
<h2 *ngIf="!isAuthenticated" [class]="themeClass()"></h2>
2+
<app-navigation *ngIf="isAuthenticated"></app-navigation>
3+
<h2 *ngIf="!isAuthenticated"></h2>
44
</ng-container>

src/app/app.component.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class AppComponent implements OnInit {
2020
* @param router Router service
2121
* @param titleService Title service
2222
* @param activatedRoute ActivatedRoute service
23-
* @param authService Auth service
23+
* @param authService Auth service
2424
*/
2525
constructor(
2626
private router: Router,
@@ -47,8 +47,4 @@ export class AppComponent implements OnInit {
4747
this.titleService.setTitle(title);
4848
});
4949
}
50-
51-
themeClass(): string | undefined {
52-
return environment.runtime.theme;
53-
}
5450
}

src/app/pages/contract-definitions/contract-definition-new/contract-definition-new.component.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
<!-- <button class="go-back" (click)="navigateToContractDefinitions()" color="accent" mat-stroked-button>
2-
<mat-icon>arrow_back</mat-icon> Go back
3-
</button> -->
4-
51
<mat-card class="creation-card">
62
<mat-card-header>
73
<mat-card-title>Create a contract definition</mat-card-title>

src/assets/config/app.config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"participantId": "connector-c1",
66
"storageAccount": "company2assets",
77
"storageExplorerLinkTemplate": "storageexplorer://v=1",
8-
"theme": "",
98
"service": {
109
"asset": {
1110
"baseUrl": "/v3/assets",

src/assets/config/app.config.template.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"participantId": "$PARTICIPANT_ID",
66
"storageAccount": "$STORAGE_ACCOUNT",
77
"storageExplorerLinkTemplate": "$STORAGE_LINK_TEMPLATE",
8-
"theme": "",
98
"service": {
109
"asset": {
1110
"baseUrl": "/v3/assets",

src/environments/environment.prod.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export const environment = {
1313
participantId: "",
1414
storageAccount: '',
1515
storageExplorerLinkTemplate: '',
16-
theme: '',
1716
service: {
1817
asset: {
1918
baseUrl: '/v3/assets',

src/environments/environment.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export const environment = {
1717
participantId: "connector-c1",
1818
storageAccount: "company2assets",
1919
storageExplorerLinkTemplate: "storageexplorer://v=1",
20-
theme: "",
2120
service: {
2221
asset: {
2322
baseUrl: '/v3/assets',

0 commit comments

Comments
 (0)