@widgetic/editor 3.10.46 → 3.10.47
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.
- package/lib/dev/editor.js +3 -3
- package/lib/editor.js +1 -1
- package/package.json +1 -1
- package/src/core/services/uploads.js +2 -2
package/package.json
CHANGED
|
@@ -38,10 +38,10 @@ export default class UploadService extends EventsMixin(Service) {
|
|
|
38
38
|
this.files = [];
|
|
39
39
|
|
|
40
40
|
// max file size in MB
|
|
41
|
-
this.maxFilesize = user.premium ? 250 : 25; // MB limit / file for premium / free
|
|
41
|
+
this.maxFilesize = user.premium ? 250 : 25; // MB limit / file for premium / free plan
|
|
42
42
|
|
|
43
43
|
// max quota in bytes
|
|
44
|
-
this.quota = (user.premium ?
|
|
44
|
+
this.quota = (user.premium ? 10000 : 250) * 1000 * 1000; // total quota for premium / free plan
|
|
45
45
|
|
|
46
46
|
// used quota in bytes
|
|
47
47
|
this.used = 0;
|