Merge project values with previous version on toggle
This commit is contained in:
parent
de04fc39b0
commit
cef2c448e6
@ -28,9 +28,9 @@ export default {
|
||||
methods: {
|
||||
toggle: function (e, projectName) {
|
||||
this.projectsState = Object.assign(this.projectsState, {
|
||||
[projectName]: {
|
||||
[projectName]: Object.assign(this.projectsState[projectName],{
|
||||
isVisible: !this.projectsState[projectName].isVisible
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user