diff --git a/frontend/app/src/components/Navbar.vue b/frontend/app/src/components/Navbar.vue index 1f88db8..b0b2a1a 100644 --- a/frontend/app/src/components/Navbar.vue +++ b/frontend/app/src/components/Navbar.vue @@ -1,8 +1,10 @@ @@ -47,8 +49,10 @@ export default { methods:{ submit(){ if (this.$refs.form.validate()){ //valinnaj JS - this.loading = true; + // this.loading = true; console.log("Dodanie do bazy") + this.$emit('cardAdded') + } } diff --git a/frontend/app/src/plugins/vuetify.js b/frontend/app/src/plugins/vuetify.js index 59846e9..a44da09 100644 --- a/frontend/app/src/plugins/vuetify.js +++ b/frontend/app/src/plugins/vuetify.js @@ -8,7 +8,7 @@ Vue.use(Vuetify, { primary: '#212121', success: '#EEEEEE', info: '#ffaa2c', - error: '#f83e70', + error: '#D50000', myTheme: '#483D8B' } })