🐛 Site > Versions > Fix date if no current version

This commit is contained in:
brunosimon
2017-09-03 21:29:18 +02:00
parent 4b1a47c933
commit d9a977cff6
+6
View File
@@ -20,6 +20,12 @@ export default
{
isActive()
{
// No current version
if(!this.$store.state.files.currentVersion)
{
return ''
}
return this.$store.state.files.currentVersion.date === this.content.date
},