Verified Commit cc393e03 authored by Grégor JOUET's avatar Grégor JOUET 🔧
Browse files

Disable edit

parent 9a4ffaf2
Loading
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
      </v-card>
    </v-dialog>

    <model-stl class="model" :backgroundColor="stl_background" :src="this.stl_path()"></model-stl>
    <model-stl :v-show="show_stl" class="model" :backgroundColor="stl_background" :src="this.stl_path()"></model-stl>
    <v-btn block v-on:click="dialog = true">Agrandir</v-btn>
    <v-card-title>{{ title }}</v-card-title>
    <v-card-subtitle class="text-left">
@@ -96,9 +96,9 @@
          <v-btn color="indigo" v-on:click="download_stl">
            <v-icon color="blue">mdi-cloud-download</v-icon>&nbsp;STL
          </v-btn>
          <v-btn color="indigo" v-on:click="infos" :disabled="!show_edit()">
          <!-- <v-btn color="indigo" v-on:click="infos" :disabled="!show_edit()">
            <v-icon color="blue">mdi-pencil</v-icon>&nbsp;Edit
          </v-btn>
          </v-btn> -->
        </v-col>
        <v-col>
          <v-btn color="indigo" v-on:click="download_gcode" v-show="show_gcode()">
@@ -252,6 +252,7 @@ export default {
  props: ["id", "admin"],
  data() {
    return {
      show_stl: true,
      dialog: false,
      admin_dialog: false,
      stl_background: "#1e1e1e",