Skip to content

Commit fbcc843

Browse files
committed
initial attempt UI to delete subscription
1 parent 3597eb8 commit fbcc843

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/pico-engine/public/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ <h2>Children</h2>
352352
<ul class="subscriptions-list" style="list-style: none;padding:0">
353353
{{#each subscriptions}}
354354
<li><input type="checkbox"> to pico "{{name}}" (did:npe:{{Tx}})
355+
<a href="/sky/event/{{../eci}}/delete-subscription/wrangler/subscription_cancellation?Tx={{this.Tx}}">del</a>
355356
<pre>{{this.asString}}</pre>
356357
</li>
357358
{{/each}}

packages/pico-engine/public/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ $.getJSON("/api/db-dump?legacy=true", function(db_dump){
194194
theSubscriptions[id].name = getV(pico,"dname");
195195
});
196196
}
197-
callback({"subscriptions":subscriptionsCount ? theSubscriptions : false});
197+
callback({eci:eci,"subscriptions":subscriptionsCount ? theSubscriptions : false});
198198
} else {
199199
callback(thePicoInp);
200200
}

0 commit comments

Comments
 (0)