Provisioning: Show configured branch in move drawer (#112005)

This commit is contained in:
Alex Khomenko
2025-10-07 15:36:49 +02:00
committed by GitHub
parent ee4532925b
commit 66fc694718
@@ -195,11 +195,12 @@ export function BulkMoveProvisionedResource({ folderUid, selectedItems, onDismis
const workflowOptions = getWorkflowOptions(repository);
const folderPath = folder?.metadata?.annotations?.[AnnoKeySourcePath] || '';
const timestamp = generateTimestamp();
const defaultWorkflow = getDefaultWorkflow(repository);
const initialValues = {
comment: '',
ref: `bulk-move/${timestamp}`,
workflow: getDefaultWorkflow(repository),
ref: defaultWorkflow === 'branch' ? `bulk-move/${timestamp}` : (repository?.branch ?? ''),
workflow: defaultWorkflow,
};
if (!repository || isReadOnlyRepo) {