Commit 60b27b1b authored by Regis's avatar Regis

formatting

parent dd9f8486
...@@ -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) {
......
Markdown is supported
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