Skip to content

Commit

Permalink
added sortable key to fields / button conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
LocalNewsTV committed Dec 19, 2023
1 parent 1c01e63 commit 19f0be0
Show file tree
Hide file tree
Showing 2 changed files with 300 additions and 139 deletions.
2 changes: 1 addition & 1 deletion app/frontend/src/wells/components/SearchResults.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
class="text-nowrap"
scope="col">
{{ column.resultLabel ? column.resultLabel : column.label }}
<b-button
<b-button v-if="column.sortable"
class="sort-button px-0"
:class="{active: column.sortParam === orderingParam}"
variant="link"
Expand Down
Loading

0 comments on commit 19f0be0

Please sign in to comment.