improve notification component, no double template

This commit is contained in:
LouisLam 2021-09-08 10:25:03 +08:00
parent 5ca0dd628d
commit f7562e00c1
2 changed files with 31 additions and 33 deletions

View file

@ -37,7 +37,7 @@
<input id="name" v-model="notification.name" type="text" class="form-control" required>
</div>
<Telegram></Telegram>
<Telegram v-if="notification.type === 'telegram'"></Telegram>
<!-- TODO: Convert all into vue components, but not an easy task. -->