summaryrefslogtreecommitdiffstats
path: root/src/App.vue
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-11-13 15:20:43 +0100
committerJulius Härtl <jus@bitgrid.net>2018-11-14 12:07:54 +0100
commit8d66e5dc04a6a015429a945ee49a8846bad6c693 (patch)
tree931f66d5733c6762ff76a2517a6a86ed17ef7d48 /src/App.vue
parent16cfac1f9c44a6b50421e1b40f4326e5a2294b74 (diff)
Start using the real backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/App.vue b/src/App.vue
index afb45277..6120e2ee 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -115,31 +115,6 @@ export default {
if (serverDataElmt !== null) {
this.$store.commit('setServerData', JSON.parse(document.getElementById('serverData').dataset.server))
}
-
- let example = {
- message: 'Want to #DropDropbox? #DeleteGoogle? #decentralize? We got you covered, easy as a piece of 🥞\n'
- + '\n'
- + 'Get started right now: https://nextcloud.com/signup',
- author: 'Nextcloud 📱☁️💻',
- authorId: '@nextcloud@mastodon.xyz',
- authorAvatar: OC.linkTo('social', 'img/nextcloud.png'),
- timestamp: '1 day ago'
- }
- let data = []
- for (let i = 0; i < 3; i++) {
- example.id = Math.floor((Math.random() * 100))
- data.push(example)
- }
- data.push({
- message: 'Want to #DropDropbox? #DeleteGoogle? #decentralize? We got you covered, easy as a piece of 🥞\n'
- + '\n'
- + 'Get started right now: https://nextcloud.com/signup',
- author: 'Admin☁️💻',
- authorId: 'admin',
- authorAvatar: OC.linkTo('social', 'img/nextcloud.png'),
- timestamp: '1 day ago'
- })
- this.$store.commit('addToTimeline', data)
},
methods: {
hideInfo() {