Commit 24037fb6 authored by schneider210's avatar schneider210
Browse files

provide text styling on the fly for individual project needs. just 'fake-api' is missing

parent ca23766a
Pipeline #132359 passed with stages
in 3 minutes and 24 seconds
......@@ -14,6 +14,7 @@ export default {
return {
content: '',
nodeid: '__text',
sequenceindex: 0,
};
},
methods: {
......@@ -42,8 +43,13 @@ export default {
.catch(() => {
// nested async request. promise is pending, so JSON_parse fails
});
// this.manifests[index].support.map(this.getSupport);
},
mounted() {
this.$root.$on('update-sequence-index', (index) => {
if (this.manifests[index].support) {
this.manifests[index].support.map(this.getSupport);
}
});
},
};
</script>
......
......@@ -85,12 +85,8 @@ export default {
this.itemindex = index;
});
this.$root.$on('update-sequence-index', (nodelabel) => {
this.manifests.forEach((manifest, index) => {
if (manifest.label === nodelabel) {
this.$root.$on('update-sequence-index', (index) => {
this.sequenceindex = index;
}
});
});
},
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment