Skip to content

Commit

Permalink
refactor(NodesTableHead.vue): remove unused hideLabel prop
Browse files Browse the repository at this point in the history
  • Loading branch information
bludnic committed Jul 13, 2024
1 parent ec9c962 commit 3016de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/nodes/adm/AdmNodesTable.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<NodesTableContainer>
<NodesTableHead hide-label />
<NodesTableHead />

<tbody>
<AdmNodesTableItem v-for="node in admNodes" :key="node.url" blockchain="adm" :node="node" />
Expand Down
5 changes: 1 addition & 4 deletions src/components/nodes/components/NodesTableHead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<thead :class="classes.root">
<tr>
<th :class="classes.checkbox" v-if="!hideCheckbox" />
<th :class="classes.label" class="pl-0 pr-2" v-if="!hideLabel">
<th :class="classes.label" class="pl-0 pr-2" v-if="label">
{{ label }}
</th>
<th :class="classes.th" class="pl-0 pr-2" v-if="!hideHost">
Expand All @@ -26,9 +26,6 @@ export default {
hideCheckbox: {
type: Boolean
},
hideLabel: {
type: Boolean
},
hideHost: {
type: Boolean
},
Expand Down

0 comments on commit 3016de6

Please sign in to comment.