small clean up

pull/107800/head
Yunwen Zheng 2 days ago
parent ec9f6fe17d
commit 3d1e95f0b9
No known key found for this signature in database
  1. 6
      public/app/features/browse-dashboards/components/BulkDeleteProvisionedResource.tsx
  2. 2
      public/app/features/browse-dashboards/state/reducers.ts

@ -104,9 +104,9 @@ function FormContent({
if (workflow === 'branch') {
onDismiss?.();
const prUrl = successes[0].data.urls?.newPullRequestURL;
if (prUrl) {
navigate({ search: `?new_pull_request_url=${encodeURIComponent(prUrl)}` });
const repoUrl = successes[0].data.urls?.repositoryURL;
if (repoUrl) {
navigate({ search: `?repo_url=${encodeURIComponent(repoUrl)}` });
return;
}
window.location.reload();

@ -172,7 +172,7 @@ export function setAllSelection(
}
for (const child of collection.items) {
// Don't traverse into the sharedwithme folders
// Don't traverse into the sharedwithme folder
if (isSharedWithMe(child.uid)) {
continue;
}

Loading…
Cancel
Save