Skip to content

Commit

Permalink
style: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHemery authored and github-actions[bot] committed Jul 31, 2023
1 parent e934ca3 commit bfd32d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions resources/js/components/DetailField.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<PanelItem :index="index" :field="field">
<template #value>
<Map :center="center" :shape-options="shapeOptions" :readonly="true" :value="value"/>
<Map :center="center" :shape-options="shapeOptions" :readonly="true" :value="value" />
</template>
</PanelItem>
</template>
Expand All @@ -10,7 +10,7 @@
import Map from './Map';
export default {
components: {Map},
components: { Map },
props: ['index', 'field'],
computed: {
value() {
Expand All @@ -19,7 +19,7 @@ export default {
center() {
return {
lat: parseFloat(Nova.config('googlePolygon').center.lat),
lng: parseFloat(Nova.config('googlePolygon').center.lng)
lng: parseFloat(Nova.config('googlePolygon').center.lng),
};
},
shapeOptions() {
Expand Down
6 changes: 3 additions & 3 deletions resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
</template>

<script>
import {FormField, HandlesValidationErrors} from 'laravel-nova';
import { FormField, HandlesValidationErrors } from 'laravel-nova';
import Map from './Map';
export default {
components: {Map},
components: { Map },
mixins: [FormField, HandlesValidationErrors],
props: ['field', 'showHelpText'],
data: () => ({
Expand All @@ -27,7 +27,7 @@ export default {
center() {
return {
lat: parseFloat(Nova.config('googlePolygon').center.lat),
lng: parseFloat(Nova.config('googlePolygon').center.lng)
lng: parseFloat(Nova.config('googlePolygon').center.lng),
};
},
shapeOptions() {
Expand Down

0 comments on commit bfd32d9

Please sign in to comment.