File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
src/components/cc-logs-addon-runtime Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,10 @@ export class CcLogsAddonRuntime extends LitElement {
121121 this . _messageFilter = detail ;
122122 }
123123
124+ _onLogInspect ( ) {
125+ this . _messageFilter = { value : '' , mode : this . _messageFilter ?. mode ?? 'loose' } ;
126+ }
127+
124128 /* endregion */
125129
126130 render ( ) {
@@ -177,6 +181,7 @@ export class CcLogsAddonRuntime extends LitElement {
177181 .stripAnsi = ${ this . options [ 'strip-ansi' ] }
178182 .timezone = ${ this . options . timezone }
179183 .wrapLines = ${ this . options [ 'wrap-lines' ] }
184+ @cc-log-inspect = ${ this . _onLogInspect }
180185 >
181186 <div slot= "header" class = "logs- header">
182187 <cc- logs- date-range-selector- beta
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ defineSmartComponent({
6565 controller . discardOverflow ( ) ;
6666 } ) ;
6767
68+ onEvent ( 'cc-log-inspect' , ( ) => {
69+ controller . pause ( ) ;
70+ } ) ;
71+
6872 controller . init ( ) ;
6973 } ,
7074} ) ;
You can’t perform that action at this time.
0 commit comments