Browse Source

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

pull/102/head
Trent Larson 11 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 class="justify-around">(Only 50 most recent)</span>
<span /> <span />
</div> </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 --> <!-- Results List -->
<table <table

4
src/views/ContactsView.vue

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

Loading…
Cancel
Save