Skip to content

Commit

Permalink
[dagit] Hide the asset group job on the instance overview (#7019)
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Mar 11, 2022
1 parent b0a0dc2 commit 57f44c0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import {SENSOR_SWITCH_FRAGMENT} from '../sensors/SensorSwitch';
import {RunStatus} from '../types/globalTypes';
import {REPOSITORY_INFO_FRAGMENT} from '../workspace/RepositoryInformation';
import {WorkspaceContext} from '../workspace/WorkspaceContext';
import {__ASSET_GROUP} from '../workspace/asset-graph/Utils';
import {buildRepoAddress} from '../workspace/buildRepoAddress';
import {repoAddressAsString} from '../workspace/repoAddressAsString';
import {RepoAddress} from '../workspace/types';
Expand Down Expand Up @@ -204,7 +205,9 @@ export const InstanceOverviewPage = () => {
(r) =>
r.repository.name === repoAddress.name &&
r.repositoryLocation.name === repoAddress.location,
) && job.name.toLocaleLowerCase().includes(searchToLower);
) &&
job.name.toLocaleLowerCase().includes(searchToLower) &&
job.name !== __ASSET_GROUP;

const {failed, inProgress, queued, succeeded, neverRan} = bucketed;
return {
Expand Down

0 comments on commit 57f44c0

Please sign in to comment.