automation fixes (part2)
This commit is contained in:
@@ -17,7 +17,7 @@ import {
|
||||
import ActivityLog from '../../components/Automation/ActivityLog';
|
||||
import ConfigModal from '../../components/Automation/ConfigModal';
|
||||
import RunHistory from '../../components/Automation/RunHistory';
|
||||
import CurrentProcessingCard from '../../components/Automation/CurrentProcessingCard';
|
||||
import CurrentProcessingCard from '../../components/Automation/CurrentProcessingCardV2';
|
||||
import GlobalProgressBar, { getProcessedFromResult } from '../../components/Automation/GlobalProgressBar';
|
||||
import PageMeta from '../../components/common/PageMeta';
|
||||
import PageHeader from '../../components/common/PageHeader';
|
||||
@@ -960,35 +960,10 @@ const AutomationPage: React.FC = () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{stage7.pending > 0 && (
|
||||
<div className="text-center py-4">
|
||||
<div className="text-3xl font-bold text-amber-600 dark:text-amber-400">{stage7.pending}</div>
|
||||
<div className="text-xs text-amber-700 dark:text-amber-300 mt-1">ready for review</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="mt-3 pt-3 border-t border-amber-200 dark:border-amber-700">
|
||||
<Button
|
||||
variant="primary"
|
||||
tone="brand"
|
||||
size="sm"
|
||||
className="w-full text-xs"
|
||||
disabled={stage7.pending === 0}
|
||||
>
|
||||
Go to Review →
|
||||
</Button>
|
||||
<div className="mt-2">
|
||||
<Button
|
||||
variant="outline"
|
||||
tone="success"
|
||||
size="sm"
|
||||
className="w-full text-xs"
|
||||
disabled={stage7.pending === 0}
|
||||
onClick={handlePublishAllWithoutReview}
|
||||
>
|
||||
Publish all Without Review
|
||||
</Button>
|
||||
</div>
|
||||
{/* Simplified: Just show the count, no buttons */}
|
||||
<div className="text-center py-4">
|
||||
<div className="text-3xl font-bold text-amber-600 dark:text-amber-400">{stage7.pending}</div>
|
||||
<div className="text-xs text-amber-700 dark:text-amber-300 mt-1">ready for review</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user