Merge branch 'moretranslation' of https://github.com/mickr777/InvokeAI into moretranslation

This commit is contained in:
mickr777 2023-09-15 14:14:04 +10:00
commit 273271f091
3 changed files with 5 additions and 7 deletions

View File

@ -34,12 +34,9 @@ body:
id: whatisexpected id: whatisexpected
attributes: attributes:
label: What should this feature add? label: What should this feature add?
description: Please try to explain the functionality this feature should add description: Explain the functionality this feature should add. Feature requests should be for single features. Please create multiple requests if you want to request multiple features.
placeholder: | placeholder: |
Instead of one huge text field, it would be nice to have forms for bug-reports, feature-requests, ... I'd like a button that creates an image of banana sushi every time I press it. Each image should be different. There should be a toggle next to the button that enables strawberry mode, in which the images are of strawberry sushi instead.
Great benefits with automatic labeling, assigning and other functionalitys not available in that form
via old-fashioned markdown-templates. I would also love to see the use of a moderator bot 🤖 like
https://github.com/marketplace/actions/issue-moderator-with-commands to auto close old issues and other things
validations: validations:
required: true required: true

View File

@ -86,7 +86,7 @@ export const store = configureStore({
.concat(autoBatchEnhancer()); .concat(autoBatchEnhancer());
}, },
middleware: (getDefaultMiddleware) => middleware: (getDefaultMiddleware) =>
getDefaultMiddleware() getDefaultMiddleware({ immutableCheck: false })
.concat(api.middleware) .concat(api.middleware)
.concat(dynamicMiddlewares) .concat(dynamicMiddlewares)
.prepend(listenerMiddleware.middleware), .prepend(listenerMiddleware.middleware),

View File

@ -26,7 +26,8 @@ export const receivedOpenAPISchema = createAsyncThunk(
'nodes/receivedOpenAPISchema', 'nodes/receivedOpenAPISchema',
async (_, { rejectWithValue }) => { async (_, { rejectWithValue }) => {
try { try {
const response = await fetch(`openapi.json`); const url = [window.location.origin, 'openapi.json'].join('/');
const response = await fetch(url);
const openAPISchema = await response.json(); const openAPISchema = await response.json();
const schemaJSON = JSON.parse( const schemaJSON = JSON.parse(