mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
refac
This commit is contained in:
parent
7d205a86dc
commit
feeaf73d77
2 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,9 @@
|
|||
let notificationEnabled = false;
|
||||
let notificationSound = true;
|
||||
let targets: NotificationTarget[] = [];
|
||||
// Keep dynamically translated event keys visible to i18next-parser.
|
||||
// $i18n.t('Chat finished'); $i18n.t('A chat run finished successfully.');
|
||||
// $i18n.t('Chat failed'); $i18n.t('A chat run failed.');
|
||||
let events: { event: string; label: string; description?: string }[] = [
|
||||
{
|
||||
event: 'chat.finished',
|
||||
|
|
|
|||
|
|
@ -122,6 +122,8 @@
|
|||
]
|
||||
];
|
||||
|
||||
// Keep dynamically translated mode labels visible to i18next-parser.
|
||||
// $i18n.t('Daily'); $i18n.t('Weekly'); $i18n.t('Cumulative');
|
||||
const heatmapModes: Array<{ value: HeatmapMode; label: string }> = [
|
||||
{ value: 'daily', label: 'Daily' },
|
||||
{ value: 'weekly', label: 'Weekly' },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue