send webhook request when enter is pressed
This commit is contained in:
parent
6f5561f30a
commit
d50e1943eb
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
<p>i think</p>
|
<p>i think</p>
|
||||||
<br>
|
<br>
|
||||||
<div id="contols" v-if="selectedWebhookObject.url && selectedWebhookObject.name">
|
<div id="contols" v-if="selectedWebhookObject.url && selectedWebhookObject.name">
|
||||||
<input class="input" placeholder="message" type="text" v-model="message"> </br>
|
<input class="input" placeholder="message" type="text" v-model="message" v-on:keyup.enter="sendMessage(selectedWebhookObject, message)"> </br>
|
||||||
<button class="button-default button-selected" @click="sendMessage(selectedWebhookObject, message)">Send</button>
|
<button class="button-default button-selected" @click="sendMessage(selectedWebhookObject, message)">Send</button>
|
||||||
<br>
|
<br>
|
||||||
<button class="button-default button-selected" @click="deleteCurrentWebhook()">Delete</button>
|
<button class="button-default button-selected" @click="deleteCurrentWebhook()">Delete</button>
|
||||||
|
|
Loading…
Reference in a new issue