diff options
| author | Henry Jameson <me@hjkos.com> | 2020-10-20 21:18:23 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-10-20 21:18:23 +0300 |
| commit | 046c60cb61bd585e2fb2850320d229ab0487d9ba (patch) | |
| tree | 00a2278ebc162d33745145cd728a72835cd0bd29 /src/components/image_cropper | |
| parent | e8650d3409aa34a0195629d2077bad68bcade439 (diff) | |
cancel -> times
Diffstat (limited to 'src/components/image_cropper')
| -rw-r--r-- | src/components/image_cropper/image_cropper.js | 8 | ||||
| -rw-r--r-- | src/components/image_cropper/image_cropper.vue | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/components/image_cropper/image_cropper.js b/src/components/image_cropper/image_cropper.js index 01361e25..9027b6eb 100644 --- a/src/components/image_cropper/image_cropper.js +++ b/src/components/image_cropper/image_cropper.js @@ -1,5 +1,13 @@ import Cropper from 'cropperjs' import 'cropperjs/dist/cropper.css' +import { library } from '@fortawesome/fontawesome-svg-core' +import { + faTimes +} from '@fortawesome/free-solid-svg-icons' + +library.add( + faTimes +) const ImageCropper = { props: { diff --git a/src/components/image_cropper/image_cropper.vue b/src/components/image_cropper/image_cropper.vue index 4e1b5927..389b06b9 100644 --- a/src/components/image_cropper/image_cropper.vue +++ b/src/components/image_cropper/image_cropper.vue @@ -41,8 +41,8 @@ class="alert error" > {{ submitErrorMsg }} - <i - class="button-icon icon-cancel" + <FAIcon + class="button-icon" icon="times" @click="clearError" /> </div> |
