maj balise div et vue

This commit is contained in:
Alexandre_BRAVO
2024-11-19 16:17:29 +01:00
parent a591fc839d
commit 5853df5acf
4 changed files with 25 additions and 6 deletions

View File

@ -126,12 +126,20 @@ export default {
current_dir: '/',
breadcrumbParts: [],
isAddFilePopupVisible: false,
newFileName: ''
newFileName: '',
};
},
async mounted() {
await this.fetchFiles();
this.breadcrumbParts = this.getBreadcrumbParts();
const webTransferDiv = document.getElementById('archiveInfos');
if (webTransferDiv) {
this.archiveUrl = webTransferDiv.dataset.archiveUrl;
this.token = webTransferDiv.dataset.token;
} else {
console.error('Pas d\'informations pour recuperer l\'archive');
}
},
methods: {
async fetchFiles() {