summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/GroupModule.vue
diff options
context:
space:
mode:
authorUdo Walter2018-07-17 03:02:27 +0200
committerUdo Walter2018-07-17 03:02:27 +0200
commitfda9d4012b33bbae10678b2e7447b9fd4f7887ca (patch)
tree6aa24fb4ee1bbdceb12136e18d1d55dc86450a8d /webapp/src/components/GroupModule.vue
parent[webapp/dashboard] drawer bugfix (diff)
downloadbas-fda9d4012b33bbae10678b2e7447b9fd4f7887ca.tar.gz
bas-fda9d4012b33bbae10678b2e7447b9fd4f7887ca.tar.xz
bas-fda9d4012b33bbae10678b2e7447b9fd4f7887ca.zip
[webapp/dashboard] added first implementation of global snackbars
Diffstat (limited to 'webapp/src/components/GroupModule.vue')
-rw-r--r--webapp/src/components/GroupModule.vue35
1 files changed, 35 insertions, 0 deletions
diff --git a/webapp/src/components/GroupModule.vue b/webapp/src/components/GroupModule.vue
new file mode 100644
index 0000000..2e5070a
--- /dev/null
+++ b/webapp/src/components/GroupModule.vue
@@ -0,0 +1,35 @@
+<i18n>
+{
+ "en": {
+ },
+ "de": {
+ }
+}
+</i18n>
+
+<template>
+ <div><v-btn color="primary" @click="newSnackbar">{{ count }}</v-btn></div>
+</template>
+
+<script>
+
+export default {
+ name: 'GroupModule',
+ data () {
+ return {
+ count: 0
+ }
+ },
+ methods: {
+ newSnackbar () {
+ this.$store.commit('newSnackbar', this.count)
+ this.count++
+ }
+ }
+}
+</script>
+
+<!-- Add "scoped" attribute to limit CSS to this component only -->
+<style scoped>
+
+</style>