Skip to content
Snippets Groups Projects
Commit dfb48b03 authored by Adam Procter's avatar Adam Procter
Browse files

fixed others nodes further

parent 1226d3b2
No related branches found
No related tags found
No related merge requests found
<template>
<div v-for="(nodes, index) in myArray" :key="index">
{{ index }}
<form class="nodes">
<!-- <template v-if="nodes.node_readmode == false"> -->
<textarea
......
<template>
<div v-for="(nodes, index) in otherNodes.otherNodes" :key="index">
<div
class="nodes"
v-for="(nodes, index) in otherNodes.otherNodes"
:key="index"
>
<p class="readmode" :id="nodes.id">
{{ nodes.text }}
</p>
......@@ -24,6 +28,7 @@ export default {
mounted() {
this.$store.dispatch('getOthernodes')
setTimeout(this.loadData, 500)
setInterval(this.loadData, 5000)
},
methods: {
......@@ -34,4 +39,12 @@ export default {
}
</script>
<style scoped></style>
<style scoped>
.nodes {
width: 95%;
background-color: rgb(155, 194, 216);
margin-top: 1em;
margin-left: 0.5em;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment