Commit c4c6f85f authored by Phil Hughes's avatar Phil Hughes Committed by Douglas Barbosa Alexandre

Reset board milestone

parent 67d8e600
...@@ -18,6 +18,10 @@ module.exports = Vue.extend({ ...@@ -18,6 +18,10 @@ module.exports = Vue.extend({
return { return {
loading: false, loading: false,
milestones: [], milestones: [],
noMilestone: {
id: -1,
title: 'No Milestone',
},
}; };
}, },
mounted() { mounted() {
...@@ -38,6 +42,17 @@ module.exports = Vue.extend({ ...@@ -38,6 +42,17 @@ module.exports = Vue.extend({
<ul <ul
class="board-milestone-list" class="board-milestone-list"
v-if="!loading"> v-if="!loading">
<li>
<a
href="#"
@click.prevent.stop="selectMilestone(noMilestone)">
<i
class="fa fa-check"
v-if="board.milestone_id === noMilestone.id"></i>
{{ noMilestone.title }}
</a>
</li>
<li class="divider"></li>
<li v-for="milestone in milestones"> <li v-for="milestone in milestones">
<a <a
href="#" href="#"
......
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