Przeglądaj źródła

chore: remove visualizar arquivo

ebagabee 3 tygodni temu
rodzic
commit
3f14261a21
1 zmienionych plików z 0 dodań i 12 usunięć
  1. 0 12
      src/pages/students/tabs/ContractTab.vue

+ 0 - 12
src/pages/students/tabs/ContractTab.vue

@@ -56,14 +56,6 @@
             >
               <q-menu>
                 <q-list style="min-width: 170px">
-                  <q-item
-                    v-close-popup
-                    clickable
-                    :disable="!row.file_url"
-                    @click="openFile(row.file_url)"
-                  >
-                    <q-item-section>Visualizar arquivo</q-item-section>
-                  </q-item>
                   <template v-if="row.status === 'frozen' || row.status === 'cancelled'">
                     <q-item
                       v-close-popup
@@ -173,10 +165,6 @@ async function onFileSelected(event) {
   }
 }
 
-function openFile(url) {
-  window.open(url, "_blank");
-}
-
 function confirmAction(title, message, apiFn, contract) {
   $q.dialog({
     component: ContractActionConfirmDialog,