feat(ticket): show repair review action and hide audit timeline
This commit is contained in:
@@ -29,7 +29,7 @@ export function TicketDetailHeader({
|
||||
</div>
|
||||
|
||||
<div className="flex shrink-0 items-center gap-2">
|
||||
{classDetail?.assignment_status === 'under_review' ? (
|
||||
{classDetail ? (
|
||||
<PermissionGuard permissions={PERMISSIONS.TICKET.REVIEW}>
|
||||
<OpenRepairReviewAction ticket={classDetail} />
|
||||
</PermissionGuard>
|
||||
|
||||
@@ -11,12 +11,9 @@ import {
|
||||
TicketOverviewCardSkeleton,
|
||||
TicketOverviewHeaderSkeleton,
|
||||
} from './components/TicketOverviewSkeleton';
|
||||
import {
|
||||
TicketClassActionsSkeleton,
|
||||
TicketClassContentSkeleton,
|
||||
} from './components/TicketClassDetailSkeleton';
|
||||
import { TicketClassActionsSkeleton } from './components/TicketClassDetailSkeleton';
|
||||
|
||||
import { TicketHistoryCard } from './components/TicketHistoryCard';
|
||||
// import { TicketHistoryCard } from './components/TicketHistoryCard';
|
||||
import { TicketAssignmentsCard } from './components/TicketAssignmentsCard';
|
||||
import { TicketOverviewCard } from './components/TicketOverviewCard';
|
||||
import { TicketStatusActions } from './components/TicketStatusActions';
|
||||
@@ -104,12 +101,13 @@ export default function TicketDetailPage() {
|
||||
assignmentId={activeAssignment.id}
|
||||
/>
|
||||
) : null}
|
||||
{/* Audit & Lifecycle Timeline is temporarily hidden.
|
||||
{activeAssignment && isClassDetailLoading ? (
|
||||
<TicketClassContentSkeleton />
|
||||
) : null}
|
||||
{activeAssignment && !isClassDetailLoading && classDetail ? (
|
||||
<TicketHistoryCard ticket={classDetail} />
|
||||
) : null}
|
||||
) : null} */}
|
||||
</div>
|
||||
|
||||
<div className="min-w-0 space-y-3 self-start xl:min-h-0 xl:self-stretch xl:overflow-y-auto xl:overscroll-contain xl:pr-2">
|
||||
|
||||
Reference in New Issue
Block a user