Commit ef97634b authored by Mark Boas's avatar Mark Boas
Browse files

Merge branch '43-pass-localstorage-id' into 'main'

localstorageid as param

Closes #43

See merge request mova/waterfall!24
parents 1504942f 3ba59458
class WaterfallAgreement {
constructor() {
constructor(localStorageId) {
this.step = 0;
this.payee = 0;
this.originalCapPlaceHolder = null;
this.localStorageId = "MOVA-Agreement-JSON";
this.localStorageId = localStorageId;
this.populateFromLocalStorage();
}
......@@ -796,4 +796,4 @@ function slist(target) {
}
//initialise
let agreement = new WaterfallAgreement();
\ No newline at end of file
let agreement = new WaterfallAgreement("MOVA-Agreement-JSON");
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment