Skip to content
Snippets Groups Projects
Commit dd20ba4c authored by Endrizzi, Marco (UG - Comp Sci & Elec Eng)'s avatar Endrizzi, Marco (UG - Comp Sci & Elec Eng)
Browse files

Added firebase function call

parent 1ad64548
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,8 @@ q-card.full-width ...@@ -34,6 +34,8 @@ q-card.full-width
</template> </template>
<script> <script>
import { mapActions } from 'vuex'
export default { export default {
data() { data() {
return { return {
...@@ -45,8 +47,9 @@ export default { ...@@ -45,8 +47,9 @@ export default {
methods: { methods: {
submitSignal() { submitSignal() {
console.log(this.signalType) this.firebaseSendSignal({ type: this.signalType, details: this.details })
} },
...mapActions('firebase', ['firebaseSendSignal'])
}, },
computed: { computed: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment