Skip to content

Commit bf3efbe

Browse files
committed
a bit more subscriptions UI
1 parent c4492a8 commit bf3efbe

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
@@ -378,6 +378,7 @@ <h2>Children</h2>
378378
<li><input type="checkbox"> from pico "{{name}}" (did:npe:{{Tx}})
379379
<a class="js-ajax-link" href="/sky/event/{{../eci}}/reject-inbound/wrangler/inbound_rejection?Rx={{this.Rx}}">del</a>
380380
<pre>{{this.asString}}</pre>
381+
<pre><a class="js-ajax-link" href="/sky/event/{{../eci}}/accept-inbound/wrangler/pending_subscription_approval?Rx={{this.Rx}}">accept</a></pre>
381382
</li>
382383
{{/each}}
383384
</ul>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ $.getJSON("/api/db-dump?legacy=true", function(db_dump){
201201
++subCount;
202202
someSub[id] = theSubs[id];
203203
someSub[id].asString = JSON.stringify(theSubs[id],undefined,2);
204-
var subs_eci = theSubs[id].Tx;
204+
var subs_eci = theSubs[id].Tx || theSubs[id].wellKnown_Tx;
205205
var pico = { id: get(db_dump.channel,[subs_eci,"pico_id"])};
206206
someSub[id].name = getV(pico,"dname");
207207
});

0 commit comments

Comments
 (0)