classcard-ui 0.2.366 → 0.2.367

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classcard-ui",
3
- "version": "0.2.366",
3
+ "version": "0.2.367",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -87,6 +87,8 @@ export default {
87
87
  container: "#filestack-uploader",
88
88
  uploadInBackground: false,
89
89
  maxFiles: this.maxFiles,
90
+ onOpen: this.$emit("onUploadOpen"),
91
+ onClose: this.$emit("onUploadOpen"),
90
92
  onUploadDone: (res) => this.$emit("filestack-uploaded", res),
91
93
  fromSources: ["local_file_system", "unsplash"],
92
94
  transformations: {
@@ -98,7 +100,6 @@ export default {
98
100
  };
99
101
  const picker = client.picker(options);
100
102
  picker.open();
101
- this.$emit("onUploadOpen");
102
103
  },
103
104
  },
104
105
  computed: {