Skip to content

Commit a954bce

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored and
Devtools-frontend LUCI CQ
committed
[Freestyler] Don't clear on element change
For now just don't clear the chat/agent log Bug: 349942007 Change-Id: I3f15d5c077da29f2981f03418162a5841dba8abc Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5664658 Commit-Queue: Nikolay Vitkov <[email protected]> Reviewed-by: Ergün Erdoğmuş <[email protected]> Auto-Submit: Nikolay Vitkov <[email protected]> Commit-Queue: Ergün Erdoğmuş <[email protected]>
1 parent 7201867 commit a954bce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

front_end/panels/freestyler/FreestylerPanel.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export class FreestylerPanel extends UI.Panel.Panel {
137137
}
138138

139139
this.#viewProps.selectedNode = ev.data;
140-
this.#clearMessages();
140+
this.doUpdate();
141141
});
142142
this.doUpdate();
143143
}
@@ -182,12 +182,12 @@ export class FreestylerPanel extends UI.Panel.Panel {
182182
switch (actionId) {
183183
case 'freestyler.element-panel-context': {
184184
Host.userMetrics.actionTaken(Host.UserMetrics.Action.FreestylerOpenedFromElementsPanel);
185-
this.#clearMessages();
185+
this.doUpdate();
186186
break;
187187
}
188188
case 'freestyler.style-tab-context': {
189189
Host.userMetrics.actionTaken(Host.UserMetrics.Action.FreestylerOpenedFromStylesTab);
190-
this.#clearMessages();
190+
this.doUpdate();
191191
break;
192192
}
193193
}

0 commit comments

Comments
 (0)