Add correct color to portfolio project page
This commit is contained in:
parent
6853cc8734
commit
e525e0d3de
|
|
@ -48,7 +48,9 @@
|
|||
}
|
||||
},
|
||||
update(data) {
|
||||
return this.$getRidOfEdges(data).project || {};
|
||||
const project = this.$getRidOfEdges(data).project || {};
|
||||
this.$store.dispatch('setSpecialContainerClass', project.appearance);
|
||||
return project;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -60,7 +62,6 @@
|
|||
},
|
||||
|
||||
created() {
|
||||
this.$store.dispatch('setSpecialContainerClass', 'red');
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue