Add viewer

This commit is contained in:
brunosimon
2017-08-12 12:02:36 +02:00
parent f7a52d970b
commit 0f33979085
11 changed files with 55 additions and 9 deletions
+7 -1
View File
@@ -10,7 +10,8 @@ export default new Vuex.Store({
projects: {},
project: null,
files: new FileTree({ autoWash: true }),
file: null
file: null,
version: null
},
mutations:
@@ -90,6 +91,11 @@ export default new Vuex.Store({
{
state.file = file
}
},
setVersion(state, data)
{
state.version = data
}
}
})