Explorar o código

Attachment List bug

star7th %!s(int64=6) %!d(string=hai) anos
pai
achega
f12c24e908
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web_src/src/components/page/edit/AttachmentList.vue

+ 1 - 1
web_src/src/components/page/edit/AttachmentList.vue

@@ -26,7 +26,7 @@
             width="150">
             <template slot-scope="scope">
               <el-button @click="downloadFile(scope.row)" type="text" size="small">{{$t('download')}}</el-button>
-              <el-button @click="insertFile(scope.row)" type="text" size="small">{{$t('insert')}}</el-button>
+              <el-button @click="insertFile(scope.row)" type="text" size="small" v-if="manage" >{{$t('insert')}}</el-button>
               <el-button type="text" size="small" @click="deleteFile(scope.row)" v-if="manage">{{$t('delete')}}</el-button>
             </template>
           </el-table-column>