From c60b65407a630fd91b5a381763e4e07f7a34a939 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 26 Jul 2022 22:57:11 +0800 Subject: [PATCH] feat(gui-v2): add icons for notification options --- .../nc-gui-v2/components/webhook/Editor.vue | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/packages/nc-gui-v2/components/webhook/Editor.vue b/packages/nc-gui-v2/components/webhook/Editor.vue index 683b5a3fc4..80b0ca6195 100644 --- a/packages/nc-gui-v2/components/webhook/Editor.vue +++ b/packages/nc-gui-v2/components/webhook/Editor.vue @@ -5,6 +5,14 @@ import type { TableType } from 'nocodb-sdk' import { MetaInj } from '~/context' import useViews from '~/composables/useViews' import MdiContentSaveIcon from '~icons/mdi/content-save' +import MdiLinkIcon from '~icons/mdi/link' +import MdiEmailIcon from '~icons/mdi/email' +import MdiSlackIcon from '~icons/mdi/slack' +import MdiMicrosoftTeamsIcon from '~icons/mdi/microsoft-teams' +import MdiDiscordIcon from '~icons/mdi/discord' +import MdiChatIcon from '~icons/mdi/chat' +import MdiWhatsAppIcon from '~icons/mdi/whatsapp' +import MdiCellPhoneMessageIcon from '~icons/mdi/cellphone-message' const meta = inject(MetaInj) const { views, loadViews } = useViews(meta as Ref) @@ -200,7 +208,9 @@ onMounted(() => { - {{ event.title }} + + {{ event.title }} + @@ -212,9 +222,19 @@ onMounted(() => { :placeholder="$t('general.notification')" @change="onNotTypeChange" > - {{ - notificationOption.type - }} + +
+ + + + + + + + + {{ notificationOption.type }} +
+