Commit 41f54a24 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

v-dialog de la corbeille scrollable

parent d4a468b4
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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>
@@ -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é.")
    }
  }
}