Skip to content

Commit

Permalink
Fix some further code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
SailReal committed Feb 2, 2024
1 parent 7755f00 commit 6c10348
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/AuditLog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<div v-else-if="state == State.ShowAuditLog">
<div class="flex flex-col sm:flex-row sm:justify-between gap-3 pb-5 border-b border-gray-200 w-full">
<h2 class="text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate">
<h2 id="title" class="text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate">
{{ t('auditLog.title') }}
</h2>

Expand Down Expand Up @@ -82,7 +82,7 @@
<div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
<div class="inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8">
<div class="overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg">
<table class="min-w-full divide-y divide-gray-300">
<table class="min-w-full divide-y divide-gray-300" aria-describedby="title">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/DeviceList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
</div>

<div v-else>
<h2 class="text-base font-semibold leading-6 text-gray-900">
<h2 id="deviceListTitle" class="text-base font-semibold leading-6 text-gray-900">
{{ t('deviceList.title') }}
</h2>

<div class="mt-4 flex flex-col">
<div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
<div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8">
<div class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg">
<table class="min-w-full divide-y divide-gray-200">
<table class="min-w-full divide-y divide-gray-200" aria-describedby="deviceListTitle">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
Expand Down

0 comments on commit 6c10348

Please sign in to comment.