diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-05 11:23:21 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-05 11:23:21 +0300 |
commit | 34e4553deec6ec50b0f9eaa36eab4b8983f11523 (patch) | |
tree | b0b2ecccbd6169b49da2d7d9a6cc633da5e20c46 /src | |
parent | 24db902588214be54d651f627a080b61bfc39a38 (diff) | |
download | webui-vue-34e4553deec6ec50b0f9eaa36eab4b8983f11523.tar.xz |
clean
Diffstat (limited to 'src')
-rw-r--r-- | src/components/Global/FormFile.vue | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/components/Global/FormFile.vue b/src/components/Global/FormFile.vue index 48bab7ec..46fa9551 100644 --- a/src/components/Global/FormFile.vue +++ b/src/components/Global/FormFile.vue @@ -41,7 +41,7 @@ variant="light" class="px-2 ml-auto" :disabled="disabled" - @click="closeFile" + @click="file = null" ><icon-close :title="$t('global.fileUpload.clearSelectedFile')" /><span class="sr-only" >{{ $t('global.fileUpload.clearSelectedFile') }}</span @@ -109,13 +109,6 @@ export default { } }, }, - - methods: { - closeFile() { - this.fileName = null; - this.file = null; - }, - }, }; </script> <style lang="scss" scoped> |