Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
everoddandeven committed Feb 13, 2025
1 parent 098286a commit e3c1ba1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/app/pages/i2p-webconsole/i2p-webconsole.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h6>Services</h6>
<li class="list-group-item"><strong>BOB:</strong> {{ mainData.services.bob ? 'Enabled' : 'Disabled' }}</li>
<li class="list-group-item"><strong>SAME:</strong> {{ mainData.services.same ? 'Enabled' : 'Disabled' }}</li>
<li class="list-group-item"><strong>I2CP:</strong> {{ mainData.services.i2cp ? 'Enabled' : 'Disabled' }}</li>
<li class="list-group-item"><strong>I2PControl:</strong> {{ mainData.services.i2pcControl ? 'Enabled' : 'Disabled' }}</li>
<li class="list-group-item"><strong>I2PControl:</strong> {{ mainData.services.i2pControl ? 'Enabled' : 'Disabled' }}</li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -98,13 +98,13 @@ <h4 class="mb-3">Miscellaneous</h4>

<div class="col-md-4">
<label for="log-level" class="form-label">Logging Level</label>
<select class="form-select" id="log-level" [ngModelOptions]="{standalone: true}">
<option [ngValue]="warn">none</option>
<option [ngValue]="warn">critical</option>
<option [ngValue]="warn">error</option>
<option [ngValue]="warn">warn</option>
<option [ngValue]="info">info</option>
<option [ngValue]="debug">debug</option>
<select class="form-select" id="log-level" [(ngModel)]="loggingLevel" [ngModelOptions]="{standalone: true}">
<option [ngValue]="'none'">none</option>
<option [ngValue]="'critical'">critical</option>
<option [ngValue]="'error'">error</option>
<option [ngValue]="'warn'">warn</option>
<option [ngValue]="'info'">info</option>
<option [ngValue]="'debug'">debug</option>
</select>
</div>

Expand Down
2 changes: 2 additions & 0 deletions src/app/pages/i2p-webconsole/i2p-webconsole.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export class I2pWebconsoleComponent extends BasePageComponent implements OnDestr
public localDestinations: LocalDestinationsData = new LocalDestinationsData();
public i2pTunnels: TunnelsData = new TunnelsData();

public loggingLevel: string = 'warn';

constructor(navbarService: NavbarService) {
super(navbarService);

Expand Down

0 comments on commit e3c1ba1

Please sign in to comment.