Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
60b27b1b
Commit
60b27b1b
authored
May 01, 2017
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting
parent
dd9f8486
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
app/assets/javascripts/issue_show/issue_title_description.vue
...assets/javascripts/issue_show/issue_title_description.vue
+2
-3
No files found.
app/assets/javascripts/issue_show/issue_title_description.vue
View file @
60b27b1b
...
@@ -38,7 +38,6 @@ export default {
...
@@ -38,7 +38,6 @@ export default {
descriptionText
:
''
,
descriptionText
:
''
,
descriptionChange
:
false
,
descriptionChange
:
false
,
previousDescription
:
null
,
previousDescription
:
null
,
taskStatus
:
''
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -53,12 +52,12 @@ export default {
...
@@ -53,12 +52,12 @@ export default {
if
(
tasks
&&
!
zeroTasks
)
{
if
(
tasks
&&
!
zeroTasks
)
{
tasks
.
innerText
=
this
.
apiData
.
task_status
;
tasks
.
innerText
=
this
.
apiData
.
task_status
;
}
else
if
(
this
.
apiData
.
task_status
.
includes
(
'
0 of 0
'
))
{
$
(
'
#task_status_short
'
).
remove
();
}
else
if
(
!
tasks
&&
!
zeroTasks
)
{
}
else
if
(
!
tasks
&&
!
zeroTasks
)
{
$
(
'
.issuable-header
'
).
append
(
`
$
(
'
.issuable-header
'
).
append
(
`
<span id="task_status_short" class="hidden-md hidden-lg">
${
this
.
apiData
.
task_status
}
</span>
<span id="task_status_short" class="hidden-md hidden-lg">
${
this
.
apiData
.
task_status
}
</span>
`
);
`
);
}
else
if
(
zeroTasks
)
{
$
(
'
#task_status_short
'
).
remove
();
}
}
},
},
elementsToVisualize
(
noTitleChange
,
noDescriptionChange
)
{
elementsToVisualize
(
noTitleChange
,
noDescriptionChange
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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