diff --git a/apps/desktop/scripts/xdg-open b/apps/desktop/scripts/xdg-open old mode 100755 new mode 100644 index b82fd05..b081d99 --- a/apps/desktop/scripts/xdg-open +++ b/apps/desktop/scripts/xdg-open @@ -1,9 +1,9 @@ -#!/usr/bin/env bash - -# Minimal stub to satisfy tools that expect xdg-open during bundling. -# Fails silently when the real binary is unavailable. -if command -v xdg-open >/dev/null 2>&1; then - exec xdg-open "$@" -else - exit 0 -fi +#!/usr/bin/env bash + +# Minimal stub to satisfy tools that expect xdg-open during bundling. +# Fails silently when the real binary is unavailable. +if command -v xdg-open >/dev/null 2>&1; then + exec xdg-open "$@" +else + exit 0 +fi diff --git a/src/components/site-header.tsx b/src/components/site-header.tsx index 554f65f..8f29983 100644 --- a/src/components/site-header.tsx +++ b/src/components/site-header.tsx @@ -1,3 +1,5 @@ +'use client' + import type { ReactNode } from "react" import { Button } from "@/components/ui/button" diff --git a/src/components/tickets/ticket-comments.rich.tsx b/src/components/tickets/ticket-comments.rich.tsx index 0d22324..8743340 100644 --- a/src/components/tickets/ticket-comments.rich.tsx +++ b/src/components/tickets/ticket-comments.rich.tsx @@ -240,14 +240,13 @@ export function TicketComments({ ticket }: TicketCommentsProps) { Comentários + + {commentsAll.length} {commentsAll.length === 1 ? "comentário" : "comentários"} +
-
- - {commentsAll.length} {commentsAll.length === 1 ? "comentário" : "comentários"} -