Skip to content

Commit

Permalink
Select role in signoff dialog to enable updates (mozilla-releng#3052)
Browse files Browse the repository at this point in the history
* work is done

* eslint format
  • Loading branch information
AMUZY authored and jbuck committed Jun 15, 2024
1 parent c4cdb17 commit 2127f44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/src/views/Rules/ListRules/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,9 @@ function ListRules(props) {
};

const handleSignoffEnableUpdates = async () => {
setRequiredRoles(
Object.keys(filteredRulesWithScheduledChanges[0].required_signoffs)
);
const [product, channel] = productChannelQueries;
const esDetails = emergencyShutoffs.find(
es => es.product === product && es.channel === channel
Expand Down Expand Up @@ -1076,6 +1079,7 @@ function ListRules(props) {
const dialogStates = {
delete: deleteDialogBody,
signoff: signoffDialogBody,
signoffEnableUpdates: signoffDialogBody,
disableUpdates: disableUpdatesBody,
};

Expand Down

0 comments on commit 2127f44

Please sign in to comment.