File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
src/components/cc-logs-app-runtime Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,10 @@ export class CcLogsAppRuntime extends LitElement {
146146 this . _messageFilter = detail ;
147147 }
148148
149+ _onLogInspect ( ) {
150+ this . _messageFilter = { value : '' , mode : this . _messageFilter ?. mode ?? 'loose' } ;
151+ }
152+
149153 /* endregion */
150154
151155 /**
@@ -264,6 +268,7 @@ export class CcLogsAppRuntime extends LitElement {
264268 ?strip- ansi= ${ this . options [ 'strip-ansi' ] }
265269 .timezone = ${ this . options . timezone }
266270 ?wrap- lines= ${ this . options [ 'wrap-lines' ] }
271+ @cc-log-inspect = ${ this . _onLogInspect }
267272 >
268273 <div slot= "header" class = "logs- header">
269274 <cc- logs- date-range-selector- beta
Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ defineSmartComponent({
8585 controller . discardOverflow ( ) ;
8686 } ) ;
8787
88+ onEvent ( 'cc-log-inspect' , ( ) => {
89+ controller . pause ( ) ;
90+ } ) ;
91+
8892 if ( deploymentId != null ) {
8993 controller . initByDeploymentId ( deploymentId ) ;
9094 } else if ( dateRangeSelection != null ) {
You can’t perform that action at this time.
0 commit comments