vgapp 1.4.7 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -140,17 +140,14 @@ class VGFilesBase extends BaseModule {
140
140
  Boolean(this._params?.replace) &&
141
141
  isSingle;
142
142
 
143
- if (shouldReplaceOnSingle) {
144
- this.clear(false);
145
- this.append(filesArray, true);
146
- this._revokeUrls();
147
- this._cleanupFakeInputs();
148
- this._cleanupErrors();
149
-
150
- this._files = this._filterFiles(filesArray);
151
- if (this._params.prepend) this._files.reverse();
152
-
153
- this.build();
143
+ if (shouldReplaceOnSingle) {
144
+ this.clear(false);
145
+ this.append(filesArray, true);
146
+ this._revokeUrls();
147
+ this._cleanupFakeInputs();
148
+ if (this._params.prepend) this._files.reverse();
149
+
150
+ this.build();
154
151
  return;
155
152
  }
156
153