Skip to content

Commit 0263cd5

Browse files
committed
feat: add title to the global button
1 parent 7c9ebcb commit 0263cd5

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

_build/js/src/globalButton.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { lng } from './lng';
12
import { ui } from './ui';
23
import { button } from './ui/dom/button';
34
import { icon } from './ui/dom/icon';
@@ -28,6 +29,9 @@ export const initGlobalButton = () => {
2829
ui.localChat.createModal(config);
2930
},
3031
'global-button',
32+
{
33+
title: lng('modai.ui.modai_assistant'),
34+
},
3135
);
3236

3337
shadowRoot.appendChild(trigger);

assets/components/modai/js/modai.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)