diff --git a/README.md b/README.md index 33acf90..5bc6b63 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,11 @@ If you are deploying in a subdirectory, add it to `publicPath` in vue.config.js, npm run build ``` +``` +npx prettier --write ./sw_scripts/ +``` +to make sure the service worker scripts are in proper form + ... then copy the contents of the `sw_scripts` folder to the `dist` folder - except additional_scripts.js. diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index 8db51eb..64454e2 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -157,8 +157,8 @@ export function didInfo( return contact ? contact.name || "Contact With No Name" : isHiddenDid(did) - ? "Someone Not In Network" - : "Someone Not In Contacts"; + ? "Someone Not In Network" + : "Someone Not In Contacts"; } export interface ResultWithType { diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index c7ca1df..116ec68 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -67,8 +67,8 @@ showGiveTotals ? "Total" : showGiveConfirmed - ? "Confirmed" - : "Unconfirmed" + ? "Confirmed" + : "Unconfirmed" }}