Merge branch 'main' of github.com:grafana/grafana into konrad-poc/k8s-rules-api-test
CodeQL checks / Detect whether code changed (push) Waiting to run Details
CodeQL checks / Analyze (actions) (push) Blocked by required conditions Details
CodeQL checks / Analyze (go) (push) Blocked by required conditions Details
CodeQL checks / Analyze (javascript) (push) Blocked by required conditions Details

This commit is contained in:
Konrad Lalik 2025-10-07 16:47:18 +02:00
commit 73a8b544e7
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -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) {