diff --git a/app/sections/pools/pool.html b/app/sections/pools/pool.html index eb8c0f5..a739384 100644 --- a/app/sections/pools/pool.html +++ b/app/sections/pools/pool.html @@ -153,34 +153,18 @@ -

-
- +
+
+ + +
-
-
-
-
-
-
    -
    -
    -
    + +
    diff --git a/app/sections/pools/pools.controller.js b/app/sections/pools/pools.controller.js index 3125b3d..771997c 100644 --- a/app/sections/pools/pools.controller.js +++ b/app/sections/pools/pools.controller.js @@ -108,48 +108,6 @@ } }; - $scope.operationsColumns = [ - { - title: $filter('translate')('Operation'), - index: 'operation_text', - }, - { - title: $filter('translate')('ID'), - index: 'operation_id' - }, - { - title: $filter('translate')('Date and time'), - index: 'time', - hidden: ['xs'] - }, - { - title: $filter('translate')('Block'), - index: 'block_num', - hidden: ['xs', 'sm'] - }, - { - title: $filter('translate')('Type'), - index: 'type', - hidden: ['xs', 'sm', 'md'] - } - ]; - $scope.select = function(page_operations) { - const page = page_operations - 1; - const limit = 20; - const from = page * limit; - - $scope.operationsLoading = true; - $scope.operationsLoadingError = false; - marketService.getLiquidityPoolHistory(name, limit, from, function (returnData) { - $scope.operationsLoading = false; - $scope.operations = returnData; - $scope.currentPage = page_operations; - }).catch(err => { - $scope.operationsLoadingError = true; - throw err; - }); - } - $scope.select(1); } } else {