fix: revert cost tracker URL in QCDetail/FinalDetail inline links
Only the main AI Cost Dashboard button in UserList should use the new URL. The inline helper links inside the Cost Tracker Project ID inputs stay on cost.oliver.agency. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
09550cfca0
commit
848f7697f3
2 changed files with 2 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import { useParams, useNavigate } from 'react-router-dom';
|
||||
import { COST_TRACKER_DASHBOARD_URL } from '../../lib/costTracker';
|
||||
import { useState, useEffect } from 'react';
|
||||
import { useJob, useCompleteJob, useJobVttContent, useRejectFinalReview, useJobValidation, useJobDownloads, useUpdateJob } from '../../hooks/useJob';
|
||||
import { StatusBadge } from '../../components/StatusBadge';
|
||||
|
|
@ -319,7 +318,7 @@ export function FinalDetail() {
|
|||
</div>
|
||||
<p className="mt-1 text-xs text-gray-400">
|
||||
Links this job to a project in the{' '}
|
||||
<a href={COST_TRACKER_DASHBOARD_URL} target="_blank" rel="noreferrer" className="underline">AI Cost Dashboard</a>.
|
||||
<a href="https://cost.oliver.agency" target="_blank" rel="noreferrer" className="underline">AI Cost Dashboard</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { useState, useEffect, useRef, useMemo } from 'react';
|
||||
import { COST_TRACKER_DASHBOARD_URL } from '../../lib/costTracker';
|
||||
import { useQueryClient } from '@tanstack/react-query';
|
||||
import { useParams, useNavigate } from 'react-router-dom';
|
||||
import { useJob, useApproveEnglish, useRejectJob, useJobVttContent, useUpdateJobVtt, useJobDownloads, useAdjustVttTiming, useUpdateTTSPreferences, useUpdateJob } from '../../hooks/useJob';
|
||||
|
|
@ -1112,7 +1111,7 @@ export function QCDetail() {
|
|||
</div>
|
||||
<p className="mt-1 text-xs text-gray-400">
|
||||
Links this job to a project in the{' '}
|
||||
<a href={COST_TRACKER_DASHBOARD_URL} target="_blank" rel="noreferrer" className="underline">AI Cost Dashboard</a>.
|
||||
<a href="https://cost.oliver.agency" target="_blank" rel="noreferrer" className="underline">AI Cost Dashboard</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue