mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
fix(core): Fixes event msg confirmations if no subscribers present (#5118)
* adds ExecutionEvents view modal to ExecutionList * fix time rendering and remove wf column * checks for unfinished executions and fails them * prevent re-setting stoppedAt for execution * removing UI changes but keeping eventbus fixes * remove comment
This commit is contained in:
committed by
GitHub
parent
044b153275
commit
62d06b1e6e
@@ -37,6 +37,7 @@ import {
|
||||
INodeListSearchItems,
|
||||
NodeParameterValueType,
|
||||
INodeActionTypeDescription,
|
||||
IAbstractEventMessage,
|
||||
} from 'n8n-workflow';
|
||||
import { FAKE_DOOR_FEATURES } from './constants';
|
||||
import { BulkCommand, Undoable } from '@/models/history';
|
||||
@@ -236,6 +237,7 @@ export interface IRestApi {
|
||||
retryExecution(id: string, loadWorkflow?: boolean): Promise<boolean>;
|
||||
getTimezones(): Promise<IDataObject>;
|
||||
getBinaryUrl(dataPath: string, mode: 'view' | 'download'): string;
|
||||
getExecutionEvents(id: string): Promise<IAbstractEventMessage[]>;
|
||||
}
|
||||
|
||||
export interface INodeTranslationHeaders {
|
||||
|
||||
@@ -19,6 +19,7 @@ import {
|
||||
INodeTranslationHeaders,
|
||||
} from '@/Interface';
|
||||
import {
|
||||
IAbstractEventMessage,
|
||||
IDataObject,
|
||||
ILoadOptions,
|
||||
INodeCredentials,
|
||||
@@ -203,6 +204,11 @@ export const restApi = Vue.extend({
|
||||
// Binary data
|
||||
getBinaryUrl: (dataPath, mode): string =>
|
||||
self.rootStore.getRestApiContext.baseUrl + `/data/${dataPath}?mode=${mode}`,
|
||||
|
||||
// Returns all the available timezones
|
||||
getExecutionEvents: (id: string): Promise<IAbstractEventMessage[]> => {
|
||||
return self.restApi().makeRestApiRequest('GET', '/eventbus/execution/' + id);
|
||||
},
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
@@ -459,6 +459,7 @@
|
||||
"executionsList.showError.refreshData.title": "Problem loading data",
|
||||
"executionsList.showError.retryExecution.title": "Problem with retry",
|
||||
"executionsList.showError.stopExecution.title": "Problem stopping execution",
|
||||
"executionsList.showError.getExecutionEvents.title": "Problem fetching execution events",
|
||||
"executionsList.showMessage.handleDeleteSelected.title": "Execution deleted",
|
||||
"executionsList.showMessage.retrySuccessfulFalse.title": "Retry unsuccessful",
|
||||
"executionsList.showMessage.retrySuccessfulTrue.title": "Retry successful",
|
||||
|
||||
Reference in New Issue
Block a user