Skip to content

Commit

Permalink
Move staff notes to top of EditCard (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
kungpaogao committed Aug 13, 2020
1 parent c3bdcca commit b11df2a
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions src/components/FurnitureEditCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,20 @@
:class="{ 'readonly-text': !isEdit }"
lazy-validation
>
<div v-if="isStaff">
<h2>Staff Notes</h2>
<v-textarea
v-model="staffNotes"
label="Staff Notes"
auto-grow
filled
:readonly="!isEdit"
/>
</div>

<!-- Donor Info -->
<h2>Donor Info</h2>

<!-- TODO: make these just normal text when in readonly -->
<!-- :value="donor ? donor.name : ''" -->
<v-text-field
:value="donor.name"
@input="updateDonor('name', $event)"
Expand Down Expand Up @@ -183,17 +192,6 @@
filled
readonly
/>

<div v-if="isStaff">
<h2>Staff Notes</h2>
<v-textarea
v-model="staffNotes"
label="Staff Notes"
auto-grow
filled
:readonly="!isEdit"
/>
</div>
</v-form>
</v-col>
</v-row>
Expand Down

0 comments on commit b11df2a

Please sign in to comment.