diff --git a/src/main.ts b/src/main.ts index 980b0e8..7bcaade 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,6 +13,7 @@ import { library } from "@fortawesome/fontawesome-svg-core"; import { faArrowLeft, faArrowRight, + faBan, faBurst, faCalendar, faChevronLeft, @@ -59,6 +60,7 @@ import { library.add( faArrowLeft, faArrowRight, + faBan, faBurst, faCalendar, faChevronLeft, diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index baac46f..7c0a81e 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -95,7 +95,10 @@ {{ contact.name || "(no name)" }} + + @@ -988,6 +998,11 @@ export default class ContactsView extends Vue { } } + private async onClickCancelName() { + this.contactEdit = null; + this.contactNewName = ""; + } + private async onClickSaveName(contact: Contact, newName: string) { contact.name = newName; return db.contacts