diff --git a/project.yaml b/project.yaml index 395944b..1880bd8 100644 --- a/project.yaml +++ b/project.yaml @@ -6,7 +6,6 @@ - replace user-affecting console.logs with error messages (eg. catches) - contacts v1 : - - produce a video assignee:trent - .2 warn about amounts when you cannot see them - .1 remove 'copy' until it works - .5 switch to prod server diff --git a/src/views/ContactAmountsView.vue b/src/views/ContactAmountsView.vue index e422c18..1369ce8 100644 --- a/src/views/ContactAmountsView.vue +++ b/src/views/ContactAmountsView.vue @@ -72,7 +72,7 @@ Confirmed - @@ -239,7 +239,11 @@ export default class ContactsView extends Vue { } } - async confirm(record: GiveServerRecord) { + async confirmGiven(record: GiveServerRecord) { + if (!confirm("Are you sure you want to mark this as confirmed?")) { + return; + } + // Make claim // I use clone here because otherwise it gets a Proxy object. // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 2669fbd..50282d4 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -166,7 +166,11 @@ /* eslint-enable prettier/prettier */ }} - {{ givenByMeDescriptions[contact.did] || "Nothing" }} + {{ + givenByMeDescriptions[contact.did] + ? "Most recently: " + givenByMeDescriptions[contact.did] + : "(None given yet.)" + }}