upd: vue.container.emergency (fix submit sendin' with param)

This commit is contained in:
xdrm-brackets 2017-12-07 20:09:08 +01:00
parent a20335c045
commit 5ecb15048a
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<div class='end-pad'></div> <!-- End Spacing --> <div class='end-pad'></div> <!-- End Spacing -->
<form class='msg-input' @submit.prevent='new_message'> <form class='msg-input' @submit.prevent='new_message(gstore.new_msg.emergency)'>
<input type='text' placeholder='Nouveau message..' id='msg-new-content' v-model='gstore.new_msg.emergency' :class='gstore.msg_pending.emergency ? "loading" : ""'> <input type='text' placeholder='Nouveau message..' id='msg-new-content' v-model='gstore.new_msg.emergency' :class='gstore.msg_pending.emergency ? "loading" : ""'>
<button></button> <button></button>
</form> </form>