Browse Source

Some linting and further documenting

pull/92/head
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 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. ... 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 return contact
? contact.name || "Contact With No Name" ? contact.name || "Contact With No Name"
: isHiddenDid(did) : isHiddenDid(did)
? "Someone Not In Network" ? "Someone Not In Network"
: "Someone Not In Contacts"; : "Someone Not In Contacts";
} }
export interface ResultWithType { export interface ResultWithType {

4
src/views/ContactsView.vue

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

Loading…
Cancel
Save