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

This commit is contained in:
2023-12-27 13:58:42 -07:00
parent c4a0458c08
commit 4f0a046723
2 changed files with 9 additions and 2 deletions

View File

@@ -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

View File

@@ -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,
); );