mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(editor): Workflows Diff UI (no-changelog) (#17452)
This commit is contained in:
committed by
GitHub
parent
f2ca2df90c
commit
9f45c284db
@@ -102,6 +102,10 @@ export const useSourceControlStore = defineStore('sourceControl', () => {
|
||||
return await vcApi.getAggregatedStatus(rootStore.restApiContext);
|
||||
};
|
||||
|
||||
const getRemoteWorkflow = async (workflowId: string) => {
|
||||
return await vcApi.getRemoteWorkflow(rootStore.restApiContext, workflowId);
|
||||
};
|
||||
|
||||
return {
|
||||
isEnterpriseSourceControlEnabled,
|
||||
state,
|
||||
@@ -117,6 +121,7 @@ export const useSourceControlStore = defineStore('sourceControl', () => {
|
||||
disconnect,
|
||||
getStatus,
|
||||
getAggregatedStatus,
|
||||
getRemoteWorkflow,
|
||||
sshKeyTypesWithLabel,
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user