Loading src/components/JamaTrash.vue +6 −4 Original line number Diff line number Diff line Loading @@ -23,10 +23,12 @@ </template> </v-data-table> <v-dialog v-model="restoreDialog" width="500"> <v-card v-if="restoringItem"> <v-dialog v-model="restoreDialog" max-width="600" scrollable> <v-card v-if="restoringItem" class="text-wrap"> <v-card-title>{{restoreTitle}}</v-card-title> <v-card-text style="height: 350px;"> <collection-tree-select :root="restoringItem.object_type==='collection'" :ancestors="[]"/> </v-card-text> <v-card-actions> <v-btn color="secondary" @click="restoringItem=null">Annuler</v-btn> <v-btn color="primary" @click="restore">Restaurer</v-btn> Loading Loading @@ -93,9 +95,9 @@ export default { }, methods:{ restore(item){ restore(){ this.$jamaAlert("Fonctionnalité à venir. L'élément " + item.label +" ne sera pas restauré.") this.$jamaAlert("Fonctionnalité à venir. L'élément " + this.restoringItem.label +" ne sera pas restauré.") } } } Loading Loading
src/components/JamaTrash.vue +6 −4 Original line number Diff line number Diff line Loading @@ -23,10 +23,12 @@ </template> </v-data-table> <v-dialog v-model="restoreDialog" width="500"> <v-card v-if="restoringItem"> <v-dialog v-model="restoreDialog" max-width="600" scrollable> <v-card v-if="restoringItem" class="text-wrap"> <v-card-title>{{restoreTitle}}</v-card-title> <v-card-text style="height: 350px;"> <collection-tree-select :root="restoringItem.object_type==='collection'" :ancestors="[]"/> </v-card-text> <v-card-actions> <v-btn color="secondary" @click="restoringItem=null">Annuler</v-btn> <v-btn color="primary" @click="restore">Restaurer</v-btn> Loading Loading @@ -93,9 +95,9 @@ export default { }, methods:{ restore(item){ restore(){ this.$jamaAlert("Fonctionnalité à venir. L'élément " + item.label +" ne sera pas restauré.") this.$jamaAlert("Fonctionnalité à venir. L'élément " + this.restoringItem.label +" ne sera pas restauré.") } } } Loading