Browse Source

fix quick-give check on contact page & add message on detailed view

pull/102/head
Trent Larson 9 months ago
parent
commit
4f0a046723
  1. 7
      src/views/ContactAmountsView.vue
  2. 4
      src/views/ContactsView.vue

7
src/views/ContactAmountsView.vue

@ -25,6 +25,13 @@
<span class="justify-around">(Only 50 most recent)</span>
<span />
</div>
<div class="flex justify-around">
<span />
<span class="justify-around">
(This does not include claims by them if they're not visible to you.)
</span>
<span />
</div>
<!-- Results List -->
<table

4
src/views/ContactsView.vue

@ -908,13 +908,13 @@ export default class ContactsView extends Vue {
},
-1,
);
} else if (!parseFloat(this.hourInput)) {
} else if (parseFloat(this.hourInput) == 0 && !this.hourDescriptionInput) {
this.$notify(
{
group: "alert",
type: "danger",
title: "Input Error",
text: "Giving 0 hours does nothing.",
text: "Giving no hours or descrption does nothing.",
},
-1,
);

Loading…
Cancel
Save