Skip to content

Commit

Permalink
Revert "[UXE-5459] feat: enhance edge node list view with fetch table…
Browse files Browse the repository at this point in the history
… block (#2124)" (#2132)
  • Loading branch information
peterpaulo-azion authored Feb 5, 2025
1 parent c147418 commit 0cf2ba4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const adapt = (httpResponse) => {

return {
body: parsedEdgeNodes,
count: httpResponse.body.count,
statusCode: httpResponse.statusCode
}
}

This file was deleted.

7 changes: 2 additions & 5 deletions src/views/EdgeNode/ListView.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup>
import ContentBlock from '@/templates/content-block'
import EmptyEdgeNode from '@/templates/empty-results-block/empty-edge-node'
import FetchListTableBlock from '@/templates/list-table-block/with-fetch-ordering-and-pagination.vue'
import ListTableBlock from '@/templates/list-table-block'
import { columnBuilder } from '@/templates/list-table-block/columns/column-builder'
import PageHeadingBlock from '@/templates/page-heading-block'
import Authorize from '@/views/EdgeNode/Dialog/Authorize'
Expand Down Expand Up @@ -82,18 +82,15 @@
}
}
]
const EDGE_NODE_API_FIELDS = ['id', 'name', 'hash_id', 'status']
</script>
<template>
<ContentBlock>
<template #heading>
<PageHeadingBlock pageTitle="Edge Nodes"></PageHeadingBlock>
</template>
<template #content>
<FetchListTableBlock
<ListTableBlock
v-if="hasContentToList"
:apiFields="EDGE_NODE_API_FIELDS"
:listService="listEdgeNodeService"
:columns="getColumns"
editPagePath="edge-node/edit"
Expand Down

0 comments on commit 0cf2ba4

Please sign in to comment.