Skip to content

Commit 46c81ee

Browse files
committed
fix: conversation list: slack & discord were not appearing
1 parent ee08081 commit 46c81ee

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

frontend/admin-ui/src/views/conversations/ConversationsList.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@
6060
<option value="">All sources</option>
6161
<option value="voice-ui">Voice UI</option>
6262
<option value="telegram">Telegram</option>
63+
<option value="discord">Discord</option>
6364
<option value="slack">Slack</option>
64-
<option value="executor">Executor</option>
65+
<option value="webhook">Webhook</option>
66+
<option value="cron">Cron</option>
6567
<option value="flow">Flow</option>
6668
<option value="direct">Direct</option>
6769
</select>
@@ -297,6 +299,8 @@ function sourceIcon(source) {
297299
const map = {
298300
'voice-ui': 'phone',
299301
telegram: 'phone',
302+
discord: 'chat',
303+
slack: 'chat',
300304
executor: 'command',
301305
flow: 'flow',
302306
direct: 'phone',
@@ -310,6 +314,8 @@ function sourceBg(source) {
310314
const map = {
311315
'voice-ui': 'bg-teal-500/15',
312316
telegram: 'bg-atlantico-500/15',
317+
discord: 'bg-violet-500/15',
318+
slack: 'bg-emerald-500/15',
313319
executor: 'bg-indigo-500/15',
314320
flow: 'bg-rose-500/15',
315321
direct: 'bg-teal-500/15',
@@ -323,6 +329,8 @@ function sourceText(source) {
323329
const map = {
324330
'voice-ui': 'text-teal-400',
325331
telegram: 'text-atlantico-400',
332+
discord: 'text-violet-400',
333+
slack: 'text-emerald-400',
326334
executor: 'text-indigo-400',
327335
flow: 'text-rose-400',
328336
direct: 'text-teal-400',
@@ -336,6 +344,8 @@ function formatSource(source) {
336344
const map = {
337345
'voice-ui': 'Voice UI',
338346
telegram: 'Telegram',
347+
discord: 'Discord',
348+
slack: 'Slack',
339349
executor: 'Executor',
340350
flow: 'Flow',
341351
direct: 'Direct',

0 commit comments

Comments
 (0)