This commit is contained in:
Andras Schmelczer 2025-03-27 21:28:29 +00:00
parent 59d9edb4b1
commit 5fb7d71395
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 6 additions and 4 deletions

View file

@ -86,7 +86,9 @@ export class LogsView extends ItemView {
dropdown.value = this.minLogLevel;
dropdown.addEventListener("change", () => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
this.minLogLevel = dropdown.value as LogLevel;
this.logsContainer?.empty();
this.logLineToElement.clear();
this.updateView();