Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Commit

Permalink
cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Apr 24, 2020
1 parent e582981 commit e748b35
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/Component/Page/Pet/Create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
<div>
<http-error-partial v-if="httpError" :httpError="httpError" />
<h1>Create Pet</h1>
<pet-form
:submitPet="submitPet"
:unprocessableEntity="unprocessableEntity"
/>
<pet-form :submitPet="submitPet" :unprocessableEntity="unprocessableEntity" />
<router-link to="/pet" class="btn-gray mb-4">List</router-link>
</div>
</template>
Expand Down
9 changes: 7 additions & 2 deletions src/Component/Page/Pet/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
:to="`/pet/${pet.id}/update`"
class="btn-gray mr-4"
>Update</router-link>
<button v-if="pet._links.delete" :data-testid="`remove-pet-${i}`" v-on:click="deletePet(pet.id)" class="btn-red">Delete</button>
<button
v-if="pet._links.delete"
:data-testid="`remove-pet-${i}`"
v-on:click="deletePet(pet.id)"
class="btn-red"
>Delete</button>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -112,7 +117,7 @@ export default Vue.extend({
filters: this.query.filters,
sort: this.query.sort
});
},
}
},
methods: {
updateQuery(route: Route): void {
Expand Down

0 comments on commit e748b35

Please sign in to comment.