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