Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
24037fb6
Commit
24037fb6
authored
Apr 24, 2020
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/content.vue
View file @
24037fb6
...
...
@@ -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
>
...
...
src/mixins/navigation.js
View file @
24037fb6
...
...
@@ -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
.
sequenceindex
=
index
;
}
});
this
.
$root
.
$on
(
'
update-sequence-index
'
,
(
index
)
=>
{
this
.
sequenceindex
=
index
;
});
},
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment