Skip to content

Commit f4fd9c9

Browse files
WIP disable not working buttons
1 parent 1be4941 commit f4fd9c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/pages/tickets.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ q-page
1616
q-btn-group(rounded flat)
1717
q-btn(icon="mdi-eye-check-outline" color="primary" rounded @click="markAsRead" size="md" :disable="selected.length === 0" primary)
1818
q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Marqué comme lu
19-
q-btn(flat icon="mdi-merge" color="primary" rounded @click="mergeTickets" size="md" :disable="selected.length === 0 || selected.length === 1")
19+
q-btn(flat icon="mdi-merge" color="primary" rounded @click="mergeTickets" size="md" :disable="true ||selected.length === 0 || selected.length === 1")
2020
q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Fusionner les tickets sélectionnés
2121
q-btn(flat icon="mdi-eye" color="primary" rounded @click="goToTicket(selected[0])" size="md" :disable="selected.length === 0 || selected.length !== 1")
2222
q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Afficher les tickets sélectionnés
@@ -34,7 +34,7 @@ q-page
3434
q-toggle(v-model="visibleColumns" :label="column.label" :val="column.name")
3535
q-btn(flat icon="mdi-refresh" @click="refresh" color="primary")
3636
q-tooltip.text-body2(transition-show="scale" transition-hide="scale") Rafraichir
37-
q-btn(icon="mdi-plus" color="primary" @click="$router.push('/tickets/create')") Créer
37+
q-btn(icon="mdi-plus" color="primary" @click="$router.push('/tickets/create')" disabled) Créer
3838

3939
template(v-slot:body-cell-actions="props")
4040
q-td(:props="props")

0 commit comments

Comments
 (0)