Skip to content

Commit

Permalink
fix beams list
Browse files Browse the repository at this point in the history
  • Loading branch information
zlayine committed May 2, 2024
1 parent efa4f31 commit aa7b6fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/js/components/beam/BeamsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ const loadMoreApi = async () => {
return DTOFactory.forSingleUseCodes(res);
} else {
const res = await BeamApi.getBeams({
codes: [searchInput.value],
...formatData(searchInput.value ? { codes: [searchInput.value] } : {}),
after: beams.value.cursor,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<div class="space-y-2 pt-4 pb-3">
<dt class="text-base font-medium text-gray-500">Code</dt>
<dd class="mt-1 text-sm text-gray-900 break-words">
<dd class="flex items-center text-sm text-gray-900 break-words">
{{ item.code }}
<CopyTextIcon :text="item.code" />
</dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div class="space-y-2 pt-4 pb-3">
<dt class="text-base font-medium text-gray-500">Code</dt>
<dd class="mt-1 text-sm text-gray-900 break-words">
<dd class="flex items-center text-sm text-gray-900 break-words">
{{ item.code }}
<CopyTextIcon :text="item.code" />
</dd>
Expand Down

0 comments on commit aa7b6fe

Please sign in to comment.