Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit cf08615

Browse files
author
Noah Hanjun Lee
authored
fix: fetch approvers when the page inits (#86)
1 parent 03c0525 commit cf08615

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

ui/src/components/RepoSettingsForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ export default function RepoSettingForm(props: RepoSettingsFormProps): JSX.Eleme
6060
{(props.repo.locked)?
6161
<Button
6262
danger
63-
type="primary"
6463
onClick={props.onClickUnlock}
6564
>
6665
UNLOCK REPOSITORY
6766
</Button>:
6867
<Button
6968
danger
69+
type="primary"
7070
onClick={props.onClickLock}
7171
>
7272
LOCK REPOSITORY

ui/src/views/RepoDeploy.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default function RepoDeploy(): JSX.Element {
5555
await dispatch(actions.setDisplay(true))
5656
await dispatch(fetchBranches())
5757
await dispatch(fetchTags())
58+
await dispatch(searchCandidates(""))
5859
}
5960
f()
6061
// eslint-disable-next-line

ui/src/views/RepoRollback.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default function RepoHome(): JSX.Element {
3434
await dispatch(init({namespace, name}))
3535
await dispatch(fetchConfig())
3636
await dispatch(actions.setDisplay(true))
37+
await dispatch(searchCandidates(""))
3738
}
3839
f()
3940
// eslint-disable-next-line

0 commit comments

Comments
 (0)