mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
console: filter manual trigger via source name
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5935 GitOrigin-RevId: f020a07f48e3662343467a34a8297d1760969a36
This commit is contained in:
parent
0b3c8ccaca
commit
95e2fe270b
@ -3,3 +3,4 @@ export { RemoteSchemaRelationshipTable } from './RemoteSchemaRelationshipsTable'
|
|||||||
export { Relationship } from './DatabaseRelationshipsTable/types';
|
export { Relationship } from './DatabaseRelationshipsTable/types';
|
||||||
export { useFindRelationship } from './DatabaseRelationshipsTable/hooks/useFindRelationship';
|
export { useFindRelationship } from './DatabaseRelationshipsTable/hooks/useFindRelationship';
|
||||||
export { getRemoteFieldPath } from './utils';
|
export { getRemoteFieldPath } from './utils';
|
||||||
|
export { areTablesEqual } from './utils';
|
||||||
|
@ -305,11 +305,13 @@ export const getManualEventsTriggers = createSelector(
|
|||||||
getEventTriggers,
|
getEventTriggers,
|
||||||
getCurrentSchema,
|
getCurrentSchema,
|
||||||
getCurrentTable,
|
getCurrentTable,
|
||||||
(triggers, schema, table) => {
|
getCurrentSource,
|
||||||
|
(triggers, schema, table, source) => {
|
||||||
return triggers.filter(
|
return triggers.filter(
|
||||||
t =>
|
t =>
|
||||||
t.table_name === table &&
|
t.table_name === table &&
|
||||||
t.schema_name === schema &&
|
t.schema_name === schema &&
|
||||||
|
t.source === source &&
|
||||||
t.configuration.definition.enable_manual
|
t.configuration.definition.enable_manual
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user