✨ Site > Chat > Add toggle
This commit is contained in:
@@ -13,31 +13,11 @@ export default
|
||||
Project
|
||||
},
|
||||
|
||||
data()
|
||||
{
|
||||
return {
|
||||
counter: 0
|
||||
}
|
||||
},
|
||||
|
||||
computed:
|
||||
{
|
||||
projects()
|
||||
{
|
||||
return this.$store.state.projects.all
|
||||
},
|
||||
|
||||
project()
|
||||
{
|
||||
return this.$store.state.projects.current
|
||||
}
|
||||
},
|
||||
|
||||
mounted()
|
||||
{
|
||||
window.setInterval(() =>
|
||||
{
|
||||
this.counter++
|
||||
}, 1000)
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
<div id="application">
|
||||
{{ counter }}
|
||||
<connexion></connexion>
|
||||
<projects></projects>
|
||||
<project v-if="project"></project>
|
||||
|
||||
Reference in New Issue
Block a user