Skip to content

Commit

Permalink
Use lux-data-table, rather than data-table (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja authored and christinach committed Mar 8, 2024
1 parent e183be6 commit 16df9b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/requests/_report_list.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<lux-heading id="no-results" level="h3" size="h3">No results found for your search</lux-heading>
<% end %>
<article class="full-width">
<data-table caption="<%= @requests.data_table_heading%>"
<lux-data-table caption="<%= @requests.data_table_heading%>"
:columns="[
{ 'name': 'request_type', 'display_name': 'Request', 'sortable': true},
{ 'name': 'start_date', 'datatype': 'date', 'display_name': 'Start Date', 'sortable': true},
Expand Down
4 changes: 2 additions & 2 deletions app/views/travel_requests/_expense_card.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<card size="full-width">
<card-content>
<data-table
<lux-data-table
caption="Anticipated Expenses"
:columns="<%= estimate_fields_json %>"
:json-data="<%= estimates_json %>"
class="anticipated-expenses estimates"
>
</data-table>
</lux-data-table>
</card-content>
</card>

0 comments on commit 16df9b8

Please sign in to comment.