mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-04 02:28:02 -05:00
refac
This commit is contained in:
1 parent
7d205a86dc
commit
feeaf73d77
2 files changed
+5
No files matched your search
@@ -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' },
|
||||
|
||||
Reference in new issue
Block a user