Load the list of transactions until the Addr/Block Info are loaded
This commit is contained in:
parent
47486b73db
commit
6d99920d1b
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
angular.module('insight.address').factory('Address',
|
angular.module('insight.address').factory('Address',
|
||||||
function($resource) {
|
function($resource) {
|
||||||
return $resource('/api/addr/:addrStr', {
|
return $resource('/api/addr/:addrStr/?getBalance=1', {
|
||||||
addrStr: '@addStr'
|
addrStr: '@addStr'
|
||||||
}, {
|
}, {
|
||||||
get: {
|
get: {
|
||||||
|
|
|
@ -72,8 +72,8 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h2>Transactions</h2>
|
<div data-ng-if="address.addrStr" data-ng-controller="transactionsController" data-ng-init="load('address')">
|
||||||
<div data-ng-controller="transactionsController" data-ng-init="load('address')">
|
<h2>Transactions</h2>
|
||||||
<div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
|
<div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -119,8 +119,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div data-ng-if="block.hash" data-ng-controller="transactionsController" data-ng-init="load('block')">
|
||||||
<div data-ng-controller="transactionsController" data-ng-init="load('block')">
|
|
||||||
<h3>Transactions</h3>
|
<h3>Transactions</h3>
|
||||||
<div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
|
<div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue