mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes places where isCancelable could get stuck on
This commit is contained in:
parent
8dee3387fd
commit
2859af386c
File diff suppressed because one or more lines are too long
2
frontend/dist/index.html
vendored
2
frontend/dist/index.html
vendored
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
||||
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
|
||||
<script type="module" crossorigin src="./assets/index.3e1dd33d.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index.3b67f519.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.165b9042.css">
|
||||
</head>
|
||||
|
||||
|
@ -88,6 +88,7 @@ export const systemSlice = createSlice({
|
||||
errorOccurred: (state) => {
|
||||
state.hasError = true;
|
||||
state.isProcessing = false;
|
||||
state.isCancelable = true;
|
||||
state.currentStep = 0;
|
||||
state.totalSteps = 0;
|
||||
state.currentIteration = 0;
|
||||
@ -126,6 +127,7 @@ export const systemSlice = createSlice({
|
||||
setIsConnected: (state, action: PayloadAction<boolean>) => {
|
||||
state.isConnected = action.payload;
|
||||
state.isProcessing = false;
|
||||
state.isCancelable = true;
|
||||
state.currentStep = 0;
|
||||
state.totalSteps = 0;
|
||||
state.currentIteration = 0;
|
||||
@ -153,6 +155,7 @@ export const systemSlice = createSlice({
|
||||
},
|
||||
processingCanceled: (state) => {
|
||||
state.isProcessing = false;
|
||||
state.isCancelable = true;
|
||||
state.currentStep = 0;
|
||||
state.totalSteps = 0;
|
||||
state.currentIteration = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user