diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue
index 0576ba266..31d3303d9 100644
--- a/src/components/common/VnDmsList.vue
+++ b/src/components/common/VnDmsList.vue
@@ -3,7 +3,6 @@ import { ref, computed } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRoute } from 'vue-router';
import { useQuasar, QCheckbox, QBtn, QInput } from 'quasar';
-import VnDmsImportForm from 'src/components/common/VnDmsImportForm.vue';
import axios from 'axios';
import VnPaginate from 'components/ui/VnPaginate.vue';
@@ -19,7 +18,6 @@ const { t } = useI18n();
const rows = ref();
const dmsRef = ref();
const formDialog = ref({});
-const showImportDialog = ref(false);
const $props = defineProps({
model: {
@@ -47,10 +45,6 @@ const $props = defineProps({
type: String,
required: true,
},
- allowImport: {
- type: Boolean,
- default: false,
- },
});
const dmsFilter = {
@@ -279,6 +273,10 @@ function shouldRenderButton(button, isExternal = false) {
if (button.name == 'download') return true;
return button.external === isExternal;
}
+
+defineExpose({
+ dmsRef,
+});
-
-
-
-
-
-