Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslkingsley committed Sep 14, 2018
1 parent dd03222 commit b41d065
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/DetailField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
computed: {
url() {
return this.field.value.preview_url
return this.field.value ? this.field.value.preview_url : null
},
width() {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/IndexField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
computed: {
url() {
return this.field.value.preview_url
return this.field.value ? this.field.value.preview_url : null
},
style() {
Expand Down

0 comments on commit b41d065

Please sign in to comment.