diff --git a/frontend/FileButton.vue b/frontend/FileButton.vue index fc4127a..c17f6af 100644 --- a/frontend/FileButton.vue +++ b/frontend/FileButton.vue @@ -3,7 +3,7 @@
{{ label }}
- + @@ -20,6 +20,9 @@ export default { upload(event) { var files = this.$el.getElementsByTagName('input')[0].files; this.$emit('upload', files); + }, + trigger() { + this.$refs.fileInput.click(); } } } diff --git a/frontend/FoldMasonSearch.vue b/frontend/FoldMasonSearch.vue index 33e2ef5..4d87abd 100644 --- a/frontend/FoldMasonSearch.vue +++ b/frontend/FoldMasonSearch.vue @@ -16,21 +16,48 @@ -->