Skip to content

Commit

Permalink
#55 Now Report form doesnt show the "hitos" tab when there are no hitos
Browse files Browse the repository at this point in the history
  • Loading branch information
guillecro committed Apr 13, 2023
1 parent f42f14d commit 544edf9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/js/admin-app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"/js/manifest.js": "/js/manifest.js?id=7db827d654313dce4250",
"/js/vendor.js": "/js/vendor.js?id=426aefc1d985b646e8d6",
"/js/admin-app.js": "/js/admin-app.js?id=341991e6d82894a08c58",
"/js/admin-app.js": "/js/admin-app.js?id=ed344457a2bf9805b5eb",
"/js/app.js": "/js/app.js?id=afe757c75b540f979e14",
"/css/app.css": "/css/app.css?id=f87db696432bd9e59bf9"
}
4 changes: 2 additions & 2 deletions resources/js/components/FormNewReport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<li class="nav-item">
<a class="nav-link text-primary is-clickable" @click="type = 'progress'" :class="type == 'progress' && 'active font-weight-bold'"><i class="fas fa-fast-forward"></i>&nbsp;&nbsp;Avance</a>
</li>
<li class="nav-item">
<li class="nav-item" v-if="milestones && milestones.length > 0">
<a class="nav-link text-primary is-clickable" @click="type = 'milestone'" :class="type == 'milestone' && 'active font-weight-bold'"><i class="fas fa-medal"></i>&nbsp;&nbsp;Hito</a>
</li>
</ul>
Expand Down Expand Up @@ -112,7 +112,7 @@
<i class="fas fa-info-circle fa-fw"></i>&nbsp;<b>¡Atencion!</b> Esta por sobrepasar el 100% de la meta. Esté seguro que es lo que desea.
</div>
</section>
<section v-if="type == 'milestone'">
<section v-if="type == 'milestone' && milestones && milestones.length > 0">
<div class="form-group">
<label>¿En que fecha se alcanzó el hito?</label>
<input name="milestone_date" type="date" class="form-control" :value="today" />
Expand Down

0 comments on commit 544edf9

Please sign in to comment.