Skip to content

Commit

Permalink
Restore metadata file store multiple files upload - initialize defaul…
Browse files Browse the repository at this point in the history
…t value for singleUpload (overridable)
  • Loading branch information
josegar74 committed Feb 12, 2025
1 parent 3e6b020 commit 18c5b8f
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
? "public"
: attrs["visibility"];
scope.queue = [];
scope.singleUpload = true;

var input = element.find("input");
if (
Expand Down Expand Up @@ -170,11 +171,6 @@
singleUpload: false
};

scope.filestoreUploadOptionsSetResource = {
autoUpload: scope.autoUpload,
singleUpload: true
};

var defaultStatus = angular.isUndefined(attrs["defaultStatus"])
? "public"
: attrs["defaultStatus"];
Expand Down

0 comments on commit 18c5b8f

Please sign in to comment.