Skip to content

Commit e632e5d

Browse files
committed
Wizard: load activation key in the review step
Fixes osbuild#2961 Activation key loads in background even if a user skips to the review step.
1 parent 7da811a commit e632e5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/CreateImageWizard/steps/Registration/ActivationKeysList.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@ const ActivationKeysList = () => {
166166
name: defaultActivationKeyName,
167167
serviceLevel: 'Self-Support',
168168
},
169-
});
169+
}).unwrap();
170+
170171
window.localStorage.setItem(
171172
'imageBuilder.recentActivationKey',
172173
defaultActivationKeyName
173174
);
174-
refetch();
175175
dispatch(changeActivationKey(defaultActivationKeyName));
176176
} catch (error) {
177177
dispatch(

0 commit comments

Comments
 (0)