✨ Site > File > Viewer > Add lines
This commit is contained in:
@@ -16,6 +16,11 @@ export default
|
||||
version()
|
||||
{
|
||||
return this.$store.state.files.currentVersion
|
||||
},
|
||||
|
||||
linesCount()
|
||||
{
|
||||
return (this.$store.state.files.currentVersion.content.match(/\n/g) || []).length + 1
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user