We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d792f8 commit 5497162Copy full SHA for 5497162
ui/frontend/reducers/output/meta.ts
@@ -74,8 +74,10 @@ const slice = createSlice({
74
state.focus = Focus.Format;
75
})
76
77
- .addCase(performFormat.fulfilled, (state) => {
78
- state.focus = undefined;
+ .addCase(performFormat.fulfilled, (state, action) => {
+ if (action.payload.success) {
79
+ state.focus = undefined;
80
+ }
81
82
83
.addCase(performGistLoad.pending, setGist)
0 commit comments