Browse Source

Some linting and further documenting

sw-cleanup
Matthew Raymer 11 months ago
parent
commit
9846cf3e4c
  1. 5
      README.md
  2. 4
      src/libs/endorserServer.ts
  3. 4
      src/views/ContactsView.vue

5
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.

4
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 {

4
src/views/ContactsView.vue

@ -67,8 +67,8 @@
showGiveTotals
? "Total"
: showGiveConfirmed
? "Confirmed"
: "Unconfirmed"
? "Confirmed"
: "Unconfirmed"
}}
</button>
<br />

Loading…
Cancel
Save