diff --git a/README.md b/README.md index 33acf907..5bc6b636 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 8db51eb8..64454e27 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 c7ca1dff..116ec681 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -67,8 +67,8 @@ showGiveTotals ? "Total" : showGiveConfirmed - ? "Confirmed" - : "Unconfirmed" + ? "Confirmed" + : "Unconfirmed" }}