message in uploaf_folder

This commit is contained in:
sanjayk03-dev
2024-04-09 21:21:41 +05:30
parent d251eea9dd
commit 361f36ff84
2 changed files with 5 additions and 6 deletions

View File

@@ -538,12 +538,12 @@ module.exports = {
upload_folder: async function (e) {
this.uploadFolder = true;
this.filesUploaded = 0;
this.totalFiles = files.length;
const files = e.target.files || e.dataTransfer.files;
if (!files.length) {
return;
}
this.totalFiles = files.length;
const folderName = files[0].webkitRelativePath.split("/")[0];
this.config.non_macros_list = [...this.state.non_macros_list];

View File

@@ -275,12 +275,11 @@ script#control-view-template(type="text/x-template")
.fa.fa-stop-circle-o
message(:show.sync="uploadFolder")
h3(slot="header") Uploading
h3(slot="header") Files uploading
div(slot="body")
h3 Uploading files is currently in progress
p
| {{filesUploaded}} files uploaded.
| Do not close window.
h3 Please wait...
p The files are currently being uploaded.
p Do not close the window.
div(slot="footer")
button.pure-button(title="Execute one program step.", @click="step",