account, schduels, timezone profile and many imporant updates
This commit is contained in:
@@ -474,7 +474,7 @@ export default function Approved() {
|
||||
// Open site settings in new tab
|
||||
const handleOpenSiteSettings = useCallback(() => {
|
||||
if (activeSite) {
|
||||
window.open(`/sites/${activeSite.id}/settings?tab=publishing`, '_blank');
|
||||
window.open(`/sites/${activeSite.id}/settings?tab=automation`, '_blank');
|
||||
}
|
||||
}, [activeSite]);
|
||||
|
||||
@@ -630,13 +630,16 @@ export default function Approved() {
|
||||
if (action === 'bulk_publish_site') {
|
||||
await handleBulkPublishToSite(ids);
|
||||
} else if (action === 'bulk_schedule_manual') {
|
||||
// Manual bulk scheduling (same time for all)
|
||||
handleBulkScheduleManual(ids);
|
||||
// Manual bulk scheduling (same time for all) via modal
|
||||
const numericIds = ids.map(id => parseInt(id));
|
||||
const items = content.filter(item => numericIds.includes(item.id));
|
||||
setBulkScheduleItems(items);
|
||||
setShowBulkScheduleModal(true);
|
||||
} else if (action === 'bulk_schedule_defaults') {
|
||||
// Schedule with site defaults
|
||||
handleBulkScheduleWithDefaults(ids);
|
||||
}
|
||||
}, [handleBulkPublishToSite, handleBulkScheduleManual, handleBulkScheduleWithDefaults]);
|
||||
}, [handleBulkPublishToSite, handleBulkScheduleWithDefaults, content]);
|
||||
|
||||
// Bulk status update handler
|
||||
const handleBulkUpdateStatus = useCallback(async (ids: string[], status: string) => {
|
||||
|
||||
Reference in New Issue
Block a user