style(web): apply bun format fixes

This commit is contained in:
t0ng7u
2026-07-11 22:40:43 +08:00
parent 0cf8f58421
commit d373b24e4e
5 changed files with 18 additions and 14 deletions
@@ -185,7 +185,9 @@ export function DataTableFilterPanel<TData>(
)}
>
{!mobilePanelCollapsed && (
<div className='grid min-w-0 gap-2'>{props.mobilePinnedFilters}</div>
<div className='grid min-w-0 gap-2'>
{props.mobilePinnedFilters}
</div>
)}
<div
@@ -34,15 +34,6 @@ import { toast } from 'sonner'
import { Button } from '@/components/design-system/button'
import { Input } from '@/components/design-system/input'
import { Badge } from '@/components/ui/badge'
import {
Popover,
PopoverContent,
PopoverDescription,
PopoverHeader,
PopoverTitle,
PopoverTrigger,
} from '@/components/ui/popover'
import {
Select,
SelectContent,
@@ -53,6 +44,15 @@ import {
} from '@/components/design-system/select'
import { Dialog } from '@/components/dialog'
import { Alert, AlertDescription } from '@/components/ui/alert'
import { Badge } from '@/components/ui/badge'
import {
Popover,
PopoverContent,
PopoverDescription,
PopoverHeader,
PopoverTitle,
PopoverTrigger,
} from '@/components/ui/popover'
import { Separator } from '@/components/ui/separator'
import { Textarea } from '@/components/ui/textarea'
import {
@@ -158,7 +158,7 @@ export function useDrawingLogsColumns(
value={mjId}
variant='neutral'
size='sm'
className='max-w-full min-w-0 shrink overflow-hidden font-mono [&>[data-slot=status-badge-label]]:min-w-0 [&>[data-slot=status-badge-label]]:max-w-full [&>[data-slot=status-badge-label]]:shrink [&>[data-slot=status-badge-label]]:overflow-hidden [&>[data-slot=status-badge-label]]:text-ellipsis'
className='max-w-full min-w-0 shrink overflow-hidden font-mono [&>[data-slot=status-badge-label]]:max-w-full [&>[data-slot=status-badge-label]]:min-w-0 [&>[data-slot=status-badge-label]]:shrink [&>[data-slot=status-badge-label]]:overflow-hidden [&>[data-slot=status-badge-label]]:text-ellipsis'
>
{mjId}
</CopyableStatusBadge>
@@ -140,7 +140,7 @@ export function useTaskLogsColumns(isAdmin: boolean): ColumnDef<TaskLog>[] {
value={taskId}
variant='neutral'
size='sm'
className='max-w-full min-w-0 shrink overflow-hidden font-mono [&>[data-slot=status-badge-label]]:min-w-0 [&>[data-slot=status-badge-label]]:max-w-full [&>[data-slot=status-badge-label]]:shrink [&>[data-slot=status-badge-label]]:overflow-hidden [&>[data-slot=status-badge-label]]:text-ellipsis'
className='max-w-full min-w-0 shrink overflow-hidden font-mono [&>[data-slot=status-badge-label]]:max-w-full [&>[data-slot=status-badge-label]]:min-w-0 [&>[data-slot=status-badge-label]]:shrink [&>[data-slot=status-badge-label]]:overflow-hidden [&>[data-slot=status-badge-label]]:text-ellipsis'
>
{taskId}
</CopyableStatusBadge>
@@ -16,6 +16,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
import type { TFunction } from 'i18next'
import {
Copy,
Check,
@@ -31,7 +32,6 @@ import {
Info,
LogIn,
} from 'lucide-react'
import type { TFunction } from 'i18next'
import { useTranslation } from 'react-i18next'
import { Button } from '@/components/design-system/button'
@@ -164,7 +164,9 @@ function getUsageBillingPathLabel(
}
}
function isUsageBillingPathLocal(adminInfo: LogOtherData['admin_info']): boolean {
function isUsageBillingPathLocal(
adminInfo: LogOtherData['admin_info']
): boolean {
if (adminInfo?.usage_billing_path) {
return adminInfo.usage_billing_path === USAGE_BILLING_PATH.LOCAL
}