mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 06:58:21 +00:00
Add tooltip for clear chat history (#1276)
This commit is contained in:
parent
3fcf209b52
commit
d38f889bd6
1 changed files with 2 additions and 1 deletions
|
|
@ -252,10 +252,11 @@ export class WaveAiModel implements ViewModel {
|
|||
});
|
||||
return viewTextChildren;
|
||||
});
|
||||
this.endIconButtons = atom((get) => {
|
||||
this.endIconButtons = atom((_) => {
|
||||
let clearButton: IconButtonDecl = {
|
||||
elemtype: "iconbutton",
|
||||
icon: "delete-left",
|
||||
title: "Clear Chat History",
|
||||
click: this.clearMessages.bind(this),
|
||||
};
|
||||
return [clearButton];
|
||||
|
|
|
|||
Loading…
Reference in a new issue