Skip to content

Commit ac95c58

Browse files
committed
fix: check for undefined in the lq query string
1 parent e7175e7 commit ac95c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/log-viewer/workspace/logviewer-workspace.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class UmbLogViewerWorkspaceContext extends UmbControllerBase implements U
124124

125125
onChangeState = () => {
126126
const searchQuery = query();
127-
this.setFilterExpression(searchQuery.lq);
127+
this.setFilterExpression(searchQuery.lq ?? '');
128128

129129
let validLogLevels: LogLevelModel[] = [];
130130
if (searchQuery.loglevels) {

0 commit comments

Comments
 (0)